From b6d8070205906513bef1de87f096ff737ae621a3 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Mon, 8 May 2017 12:39:17 +0000 Subject: [PATCH] Correct the attribute spelling for guarded_var and pt_guarded_var. Patch by Roman Lebedev. llvm-svn: 302419 --- clang/docs/ThreadSafetyAnalysis.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/docs/ThreadSafetyAnalysis.rst b/clang/docs/ThreadSafetyAnalysis.rst index 47cf4ef3994e..ea8e98a1884b 100644 --- a/clang/docs/ThreadSafetyAnalysis.rst +++ b/clang/docs/ThreadSafetyAnalysis.rst @@ -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(...) \