[analyzer] add comment
authorAnna Zaks <ganna@apple.com>
Tue, 5 Feb 2013 19:52:26 +0000 (19:52 +0000)
committerAnna Zaks <ganna@apple.com>
Tue, 5 Feb 2013 19:52:26 +0000 (19:52 +0000)
llvm-svn: 174435

clang/lib/Analysis/BodyFarm.cpp

index 98010d3..2779960 100644 (file)
@@ -268,7 +268,11 @@ static Stmt *create_OSAtomicCompareAndSwap(ASTContext &C, const FunctionDecl *D)
   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;