diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-09-12 00:22:50 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-09-12 00:22:50 +0000 |
| commit | 15fc956ca0936fb8ac06c463093ee0ed4a2262cb (patch) | |
| tree | 2baf055af35c5debcc5c395d9a88e2b8c5d5b678 /clang/lib/Sema/SemaExpr.cpp | |
| parent | 16618f2157100d72e59301892ab035911963d1ee (diff) | |
| download | bcm5719-llvm-15fc956ca0936fb8ac06c463093ee0ed4a2262cb.tar.gz bcm5719-llvm-15fc956ca0936fb8ac06c463093ee0ed4a2262cb.zip | |
Remove unnecessary ASTContext parameter from FunctionDecl::isBuiltinID
llvm-svn: 81590
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaExpr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index 509f45c7833..11bd323011f 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -2879,7 +2879,7 @@ Sema::ActOnCallExpr(Scope *S, ExprArg fn, SourceLocation LParenLoc, if (Ovl || FunctionTemplate || (getLangOptions().CPlusPlus && (FDecl || UnqualifiedName))) { // We don't perform ADL for implicit declarations of builtins. - if (FDecl && FDecl->getBuiltinID(Context) && FDecl->isImplicit()) + if (FDecl && FDecl->getBuiltinID() && FDecl->isImplicit()) ADL = false; // We don't perform ADL in C. @@ -2999,7 +2999,7 @@ Sema::ActOnCallExpr(Scope *S, ExprArg fn, SourceLocation LParenLoc, if (CheckFunctionCall(FDecl, TheCall.get())) return ExprError(); - if (unsigned BuiltinID = FDecl->getBuiltinID(Context)) + if (unsigned BuiltinID = FDecl->getBuiltinID()) return CheckBuiltinFunctionCall(BuiltinID, TheCall.take()); } else if (NDecl) { if (CheckBlockCall(NDecl, TheCall.get())) |

