aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-09-12 00:17:51 +0000
committerDouglas Gregor <dgregor@apple.com>2009-09-12 00:17:51 +0000
commit48a83b5e7ae4051c7c11680ac00c1fa02d610a62 (patch)
tree67768c87edafe6ba7eb591e81184571540fd57de /lib/CodeGen/CodeGenModule.cpp
parentaf3280fadbdab6305581955c973e1229970958eb (diff)
Remove unnecessary ASTContext parameters from isMain and isExternC
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp
index 00182113f8..ae7a8b1dcb 100644
--- a/lib/CodeGen/CodeGenModule.cpp
+++ b/lib/CodeGen/CodeGenModule.cpp
@@ -561,7 +561,7 @@ void CodeGenModule::EmitGlobal(GlobalDecl GD) {
// In C++, if this is marked "extern", defer code generation.
if (getLangOptions().CPlusPlus && !VD->getInit() &&
(VD->getStorageClass() == VarDecl::Extern ||
- VD->isExternC(getContext())))
+ VD->isExternC()))
return;
// In C, if this isn't a definition, defer code generation.