Add a "brief" comment for CastToCStr
authorReid Spencer <rspencer@reidspencer.com>
Sat, 21 May 2005 00:23:23 +0000 (00:23 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 21 May 2005 00:23:23 +0000 (00:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22161 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/SimplifyLibCalls.cpp

index 127d8ccb09d1a50fe9381e88aedac7b9a782813e..cb5194fea167fd5de6c46b7756ccb554d23cfe08 100644 (file)
@@ -1368,6 +1368,7 @@ public:
 
 /// 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)