From 5845623148891ab1a41e55358cbe8393814fed14 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sat, 21 May 2005 00:23:23 +0000 Subject: [PATCH] Add a "brief" comment for CastToCStr git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22161 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/IPO/SimplifyLibCalls.cpp | 1 + 1 file changed, 1 insertion(+) 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) -- 2.34.1