summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2011-01-29 18:25:07 +0000
committerAnders Carlsson <andersca@mac.com>2011-01-29 18:25:07 +0000
commit93be9a90ccb544d8bb05ddfb5a377d24ff88ba8e (patch)
treed63759e1496a51857e908048d1f256d3cc403511 /clang/lib/CodeGen/CodeGenModule.cpp
parentda80af3681feb019e8362f1e21012156dccdd874 (diff)
downloadbcm5719-llvm-93be9a90ccb544d8bb05ddfb5a377d24ff88ba8e.tar.gz
bcm5719-llvm-93be9a90ccb544d8bb05ddfb5a377d24ff88ba8e.zip
Use CGM.CreateOrReplaceCXXRuntimeVariable in CGVTables.cpp
llvm-svn: 124538
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 c261ccae2ef..3162559e47e 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -1000,7 +1000,7 @@ CodeGenModule::CreateOrReplaceCXXRuntimeVariable(llvm::StringRef Name,
// Because C++ name mangling, the only way we can end up with an already
// existing global with the same name is if it has been declared extern "C".
- assert(GV->isDeclaration() && "Declaration has wrong type!");
+ assert(GV->isDeclaration() && "Declaration has wrong type!");
OldGV = GV;
}
OpenPOWER on IntegriCloud