[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

unknown_user at cs.uiuc.edu unknown_user at cs.uiuc.edu
Fri May 20 17:23:35 PDT 2005



Changes in directory llvm/lib/Transforms/IPO:

SimplifyLibCalls.cpp updated: 1.38 -> 1.39
---
Log message:

Add a "brief" comment for CastToCStr


---
Diffs of the changes:  (+1 -0)

 SimplifyLibCalls.cpp |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
diff -u llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.38 llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.39
--- llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.38	Fri May 20 17:22:25 2005
+++ llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp	Fri May 20 19:23:23 2005
@@ -1368,6 +1368,7 @@
 
 /// CastToCStr - Return V if it is an sbyte*, otherwise cast it to sbyte*,
 /// inserting the cast before IP, and return the cast.
+/// @brief Cast a value to a "C" string.
 static Value *CastToCStr(Value *V, Instruction &IP) {
   const Type *SBPTy = PointerType::get(Type::SByteTy);
   if (V->getType() != SBPTy)






More information about the llvm-commits mailing list