diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-10-15 12:20:02 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-10-15 12:20:02 +0000 |
commit | 22d24c287ac00510b0a635da2e8a8b25b8b3f89d (patch) | |
tree | 75cd1388f8a7a41d4ea5877990111426f1853f18 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 02b88ca9805198e791dc3c0fcb445c47b676808f (diff) | |
download | bcm5719-llvm-22d24c287ac00510b0a635da2e8a8b25b8b3f89d.tar.gz bcm5719-llvm-22d24c287ac00510b0a635da2e8a8b25b8b3f89d.zip |
Replace vectors with arrays.
llvm-svn: 142072
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 924ec8448e8..03fb18177aa 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -1766,7 +1766,7 @@ CodeGenModule::GetAddrOfConstantCFString(const StringLiteral *Literal) { llvm::StructType *STy = cast<llvm::StructType>(getTypes().ConvertType(CFTy)); - std::vector<llvm::Constant*> Fields(4); + llvm::Constant *Fields[4]; // Class pointer. Fields[0] = CFConstantStringClassRef; @@ -1907,7 +1907,7 @@ CodeGenModule::GetAddrOfConstantString(const StringLiteral *Literal) { NSConstantStringType = cast<llvm::StructType>(getTypes().ConvertType(NSTy)); } - std::vector<llvm::Constant*> Fields(3); + llvm::Constant *Fields[3]; // Class pointer. Fields[0] = ConstantStringClassRef; |