[llvm] r194537 - Update the docs to match the function name.

Nadav Rotem nrotem at apple.com
Wed Nov 13 15:18:47 PST 2013


The functions in the file are documented without \brief and it is better to be consistent. 

On Nov 13, 2013, at 3:17 PM, Robinson, Paul <Paul_Robinson at playstation.sony.com> wrote:

>> -----Original Message-----
>> From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-
>> bounces at cs.uiuc.edu] On Behalf Of Nadav Rotem
>> Sent: Tuesday, November 12, 2013 5:12 PM
>> To: llvm-commits at cs.uiuc.edu
>> Subject: [llvm] r194537 - Update the docs to match the function name.
>> 
>> Author: nadav
>> Date: Tue Nov 12 19:12:01 2013
>> New Revision: 194537
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=194537&view=rev
>> Log:
>> Update the docs to match the function name.
>> 
>> Modified:
>>    llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
>> 
>> Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
>> URL: http://llvm.org/viewvc/llvm-
>> project/llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp?re
>> v=194537&r1=194536&r2=194537&view=diff
>> ========================================================================
>> ======
>> --- llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
>> (original)
>> +++ llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp Tue
>> Nov 12 19:12:01 2013
>> @@ -1543,7 +1543,7 @@ static Instruction *MatchSelectFromAndOr
>>   return 0;
>> }
>> 
>> -/// IsSingleBitValue - Returns true for "one-hot" values (values where
>> at most
>> +/// IsOneHotValue - Returns true for "one-hot" values (values where at
>> most
> 
> Use \brief instead?
> 
>> /// one bit can be set).
>> static bool IsOneHotValue(Value *V) {
>>   // Match 1<<K.
>> 
>> 
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131113/e4b78719/attachment.html>


More information about the llvm-commits mailing list