[cfe-commits] r54818 - /cfe/trunk/lib/CodeGen/CodeGenModule.cpp
Daniel Dunbar
daniel at zuster.org
Fri Aug 15 11:29:14 PDT 2008
Author: ddunbar
Date: Fri Aug 15 13:29:12 2008
New Revision: 54818
URL: http://llvm.org/viewvc/llvm-project?rev=54818&view=rev
Log:
Infinite loops considered harmful.
- Thanks Thomas
Modified:
cfe/trunk/lib/CodeGen/CodeGenModule.cpp
Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenModule.cpp?rev=54818&r1=54817&r2=54818&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenModule.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenModule.cpp Fri Aug 15 13:29:12 2008
@@ -960,5 +960,5 @@
/// array containing the literal and a terminating '\-'
/// character. The result has pointer to array type.
llvm::Constant *CodeGenModule::GetAddrOfConstantCString(const std::string &str) {
- return GetAddrOfConstantCString(str + "\0");
+ return GetAddrOfConstantString(str + "\0");
}
More information about the cfe-commits
mailing list