summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-10-17 15:37:26 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-10-17 15:37:26 +0000
commit8db352d532416955458e62e44088c656e6fd3151 (patch)
tree033820d218f1993d682409c5fd547c6722ff05d3 /clang/lib/CodeGen/CodeGenModule.cpp
parent9469417064a14c9c60034ed766ef7087c9d6c0d9 (diff)
downloadbcm5719-llvm-8db352d532416955458e62e44088c656e6fd3151.tar.gz
bcm5719-llvm-8db352d532416955458e62e44088c656e6fd3151.zip
Rename some functions for consistency.
Every other function in Redeclarable.h was using Decl instead of Declaration. llvm-svn: 192900
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 7682efc752e..96ae437ff46 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -1663,7 +1663,7 @@ void CodeGenModule::MaybeHandleStaticInExternC(const SomeDecl *D,
// Must be in an extern "C" context. Entities declared directly within
// a record are not extern "C" even if the record is in such a context.
- const SomeDecl *First = D->getFirstDeclaration();
+ const SomeDecl *First = D->getFirstDecl();
if (First->getDeclContext()->isRecord() || !First->isInExternCContext())
return;
OpenPOWER on IntegriCloud