r237123 - Remove superfluous SmallString cast.
Yaron Keren
yaron.keren at gmail.com
Tue May 12 05:47:05 PDT 2015
Author: yrnkrn
Date: Tue May 12 07:47:05 2015
New Revision: 237123
URL: http://llvm.org/viewvc/llvm-project?rev=237123&view=rev
Log:
Remove superfluous SmallString cast.
Modified:
cfe/trunk/lib/CodeGen/CGDeclCXX.cpp
Modified: cfe/trunk/lib/CodeGen/CGDeclCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDeclCXX.cpp?rev=237123&r1=237122&r2=237123&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDeclCXX.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDeclCXX.cpp Tue May 12 07:47:05 2015
@@ -431,7 +431,7 @@ CodeGenModule::EmitCXXGlobalInitFunc() {
// priority emitted above.
FileName = llvm::sys::path::filename(MainFile->getName());
} else {
- FileName = SmallString<128>("<null>");
+ FileName = "<null>";
}
for (size_t i = 0; i < FileName.size(); ++i) {
More information about the cfe-commits
mailing list