]> granicus.if.org Git - clang/commitdiff
[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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174435 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/BodyFarm.cpp

index 98010d3cb0ca2f955cdea6dc864a4d50f4f28af5..277996091cda62a516020a70e1af24f6f8ffaf30 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;