diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-11-19 05:48:40 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-11-19 05:48:40 +0000 |
commit | 3c8c46efd7dea518102c028c11d6ac93c47a4128 (patch) | |
tree | a216d057814df9d0e5613411fa8daa4e5afe0e7b /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 77c1ae83643735326af7f7f0b62212c1b7eba20d (diff) | |
download | bcm5719-llvm-3c8c46efd7dea518102c028c11d6ac93c47a4128.tar.gz bcm5719-llvm-3c8c46efd7dea518102c028c11d6ac93c47a4128.zip |
clang-format a recent commit I made
llvm-svn: 222317
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 7462f96e51a..a6f2d6cfe59 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -2606,7 +2606,7 @@ CodeGenModule::GetAddrOfConstantString(const StringLiteral *Literal) { unsigned StringLength = 0; llvm::StringMapEntry<llvm::Constant*> &Entry = GetConstantStringEntry(CFConstantStringMap, Literal, StringLength); - + if (auto *C = Entry.second) return C; @@ -2680,8 +2680,8 @@ CodeGenModule::GetAddrOfConstantString(const StringLiteral *Literal) { // String pointer. llvm::Constant *C = - llvm::ConstantDataArray::getString(VMContext, Entry.first()); - + llvm::ConstantDataArray::getString(VMContext, Entry.first()); + llvm::GlobalValue::LinkageTypes Linkage; bool isConstant; Linkage = llvm::GlobalValue::PrivateLinkage; @@ -2713,7 +2713,7 @@ CodeGenModule::GetAddrOfConstantString(const StringLiteral *Literal) { ? NSStringNonFragileABISection : NSStringSection); Entry.second = GV; - + return GV; } |