From: Reid Spencer Date: Sat, 21 May 2005 00:23:23 +0000 (+0000) Subject: Add a "brief" comment for CastToCStr X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;ds=sidebyside;h=5845623148891ab1a41e55358cbe8393814fed14;p=oota-llvm.git Add a "brief" comment for CastToCStr git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22161 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/IPO/SimplifyLibCalls.cpp b/lib/Transforms/IPO/SimplifyLibCalls.cpp index 127d8ccb09d..cb5194fea16 100644 --- a/lib/Transforms/IPO/SimplifyLibCalls.cpp +++ b/lib/Transforms/IPO/SimplifyLibCalls.cpp @@ -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)