]> granicus.if.org Git - clang/commit
Remove redundant passing around of a "ContainsAutoType" flag.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 12 Jan 2017 02:27:38 +0000 (02:27 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 12 Jan 2017 02:27:38 +0000 (02:27 +0000)
commit5ceef6b013ae141fdda2dcda40d5f65e44693075
treeb534deb1cd29ab352b81151b62f5d3b06de21904
parent4a19ab5950cd9f1bd9f86336bb3d09dfa4c93d44
Remove redundant passing around of a "ContainsAutoType" flag.

This flag serves no purpose other than to prevent us walking through a type to
check whether it contains an 'auto' specifier; this duplication of information
is error-prone, does not appear to provide any performance benefit, and will
become less practical once we support C++1z deduced class template types and
eventually constrained types from the Concepts TS.

No functionality change intended.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291737 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/clang/Sema/Sema.h
lib/Parse/ParseDecl.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Parse/ParseExprCXX.cpp
lib/Parse/Parser.cpp
lib/Sema/SemaCoroutine.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaOpenMP.cpp
lib/Sema/SemaStmt.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp