diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-02-21 22:15:06 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-02-21 22:15:06 +0000 |
commit | 36c569fb33842342d293388eef57fdd8e51e4d60 (patch) | |
tree | 007dcbe095ea7d3a20e8f35d7f720ad7c3b6ef52 /clang/lib/Sema/SemaLookup.cpp | |
parent | 7126183006ec694211afcf3b82b92e96afee01bc (diff) | |
download | bcm5719-llvm-36c569fb33842342d293388eef57fdd8e51e4d60.tar.gz bcm5719-llvm-36c569fb33842342d293388eef57fdd8e51e4d60.zip |
Eliminate the default arguments to ASTContext::getFunctionType(),
fixing up a few callers that thought they were propagating NoReturn
information but were in fact saying something about exception
specifications.
llvm-svn: 96766
Diffstat (limited to 'clang/lib/Sema/SemaLookup.cpp')
-rw-r--r-- | clang/lib/Sema/SemaLookup.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaLookup.cpp b/clang/lib/Sema/SemaLookup.cpp index 8d93eed0dcf..744b8063284 100644 --- a/clang/lib/Sema/SemaLookup.cpp +++ b/clang/lib/Sema/SemaLookup.cpp @@ -544,7 +544,8 @@ static bool LookupDirect(Sema &S, LookupResult &R, const DeclContext *DC) { 0, 0, ConvProto->isVariadic(), ConvProto->getTypeQuals(), false, false, 0, 0, - ConvProto->getNoReturnAttr()); + ConvProto->getNoReturnAttr(), + CC_Default); // Perform template argument deduction against the type that we would // expect the function to have. |