Correct the attribute spelling for guarded_var and pt_guarded_var.

Patch by Roman Lebedev.

llvm-svn: 302419
This commit is contained in:
Aaron Ballman 2017-05-08 12:39:17 +00:00
parent 3511348dbb
commit b6d8070205
1 changed files with 2 additions and 2 deletions

View File

@ -884,11 +884,11 @@ implementation.
// Deprecated. // Deprecated.
#define PT_GUARDED_VAR \ #define PT_GUARDED_VAR \
THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded) THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_var)
// Deprecated. // Deprecated.
#define GUARDED_VAR \ #define GUARDED_VAR \
THREAD_ANNOTATION_ATTRIBUTE__(guarded) THREAD_ANNOTATION_ATTRIBUTE__(guarded_var)
// Replaced by REQUIRES // Replaced by REQUIRES
#define EXCLUSIVE_LOCKS_REQUIRED(...) \ #define EXCLUSIVE_LOCKS_REQUIRED(...) \