r174435 - [analyzer] add comment
Anna Zaks
ganna at apple.com
Tue Feb 5 11:52:26 PST 2013
Author: zaks
Date: Tue Feb 5 13:52:26 2013
New Revision: 174435
URL: http://llvm.org/viewvc/llvm-project?rev=174435&view=rev
Log:
[analyzer] add comment
Modified:
cfe/trunk/lib/Analysis/BodyFarm.cpp
Modified: cfe/trunk/lib/Analysis/BodyFarm.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/BodyFarm.cpp?rev=174435&r1=174434&r2=174435&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/BodyFarm.cpp (original)
+++ cfe/trunk/lib/Analysis/BodyFarm.cpp Tue Feb 5 13:52:26 2013
@@ -268,7 +268,11 @@ static Stmt *create_OSAtomicCompareAndSw
if (D->param_size() != 3)
return 0;
- // Body for:
+ // Signature:
+ // _Bool OSAtomicCompareAndSwapPtr(void *__oldValue,
+ // void *__newValue,
+ // void * volatile *__theValue)
+ // Generate body:
// if (oldValue == *theValue) {
// *theValue = newValue;
// return YES;
More information about the cfe-commits
mailing list