r302419 - Correct the attribute spelling for guarded_var and pt_guarded_var.

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon May 8 05:39:18 PDT 2017


Author: aaronballman
Date: Mon May  8 07:39:17 2017
New Revision: 302419

URL: http://llvm.org/viewvc/llvm-project?rev=302419&view=rev
Log:
Correct the attribute spelling for guarded_var and pt_guarded_var.

Patch by Roman Lebedev.

Modified:
    cfe/trunk/docs/ThreadSafetyAnalysis.rst

Modified: cfe/trunk/docs/ThreadSafetyAnalysis.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ThreadSafetyAnalysis.rst?rev=302419&r1=302418&r2=302419&view=diff
==============================================================================
--- cfe/trunk/docs/ThreadSafetyAnalysis.rst (original)
+++ cfe/trunk/docs/ThreadSafetyAnalysis.rst Mon May  8 07:39:17 2017
@@ -884,11 +884,11 @@ implementation.
 
   // Deprecated.
   #define PT_GUARDED_VAR \
-    THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded)
+    THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_var)
 
   // Deprecated.
   #define GUARDED_VAR \
-    THREAD_ANNOTATION_ATTRIBUTE__(guarded)
+    THREAD_ANNOTATION_ATTRIBUTE__(guarded_var)
 
   // Replaced by REQUIRES
   #define EXCLUSIVE_LOCKS_REQUIRED(...) \




More information about the cfe-commits mailing list