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 | 7814e6d6645d587891293d59ecf6576defcfac92 (patch) | |
| tree | bec2f2f08a16ebc7ea0f7de812c945c7492062ca /lib/CodeGen/CGExpr.cpp | |
| parent | 48a83b5e7ae4051c7c11680ac00c1fa02d610a62 (diff) | |
| download | clang-7814e6d6645d587891293d59ecf6576defcfac92.tar.gz clang-7814e6d6645d587891293d59ecf6576defcfac92.tar.bz2 clang-7814e6d6645d587891293d59ecf6576defcfac92.tar.xz | |
Remove unnecessary ASTContext parameter from FunctionDecl::isBuiltinID
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81590 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
| -rw-r--r-- | lib/CodeGen/CGExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index 33a84036ef..c6d5b24b11 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -1202,7 +1202,7 @@ RValue CodeGenFunction::EmitCallExpr(const CallExpr *E) { if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) { TargetDecl = DRE->getDecl(); if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(TargetDecl)) - if (unsigned builtinID = FD->getBuiltinID(getContext())) + if (unsigned builtinID = FD->getBuiltinID()) return EmitBuiltinExpr(FD, builtinID, E); } } |
