Remove superfluous SmallString cast.

llvm-svn: 237123
This commit is contained in:
Yaron Keren 2015-05-12 12:47:05 +00:00
parent 454f7909c6
commit eac8a1e328
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ CodeGenModule::EmitCXXGlobalInitFunc() {
// priority emitted above. // priority emitted above.
FileName = llvm::sys::path::filename(MainFile->getName()); FileName = llvm::sys::path::filename(MainFile->getName());
} else { } else {
FileName = SmallString<128>("<null>"); FileName = "<null>";
} }
for (size_t i = 0; i < FileName.size(); ++i) { for (size_t i = 0; i < FileName.size(); ++i) {