]> granicus.if.org Git - clang/commit
Don't build a call expression referring to a function which we're not allowed
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 4 May 2013 06:44:46 +0000 (06:44 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 4 May 2013 06:44:46 +0000 (06:44 +0000)
commit82f145d4ed86d19cb2a1680cda53fdc39bb38eb6
tree64406c74e519c1114a39fa7721938b231b530d00
parentffd015e316fff53f23e9ffd4907b88b8706e4183
Don't build a call expression referring to a function which we're not allowed
to use. This makes very little difference right now (other than suppressing
follow-on errors in some cases), but will matter more once we support deduced
return types (we don't want expressions with undeduced return types in the
AST).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181107 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaInit.cpp
lib/Sema/SemaOverload.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/p5-cxx0x.cpp