diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-05-21 00:23:23 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-05-21 00:23:23 +0000 |
commit | 895af9ef24949a24090d344ff259bf4ce4623ad5 (patch) | |
tree | adb861b2604ef0049ff0e2b55f65502f665ff79a /llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp | |
parent | bb09f861cdb808c854d8f7c27a136a3270651b6a (diff) | |
download | bcm5719-llvm-895af9ef24949a24090d344ff259bf4ce4623ad5.tar.gz bcm5719-llvm-895af9ef24949a24090d344ff259bf4ce4623ad5.zip |
Add a "brief" comment for CastToCStr
llvm-svn: 22161
Diffstat (limited to 'llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp b/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp index 127d8ccb09d..cb5194fea16 100644 --- a/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp +++ b/llvm/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) |