diff options
author | DeLesley Hutchins <delesley@google.com> | 2014-01-23 22:35:26 +0000 |
---|---|---|
committer | DeLesley Hutchins <delesley@google.com> | 2014-01-23 22:35:26 +0000 |
commit | 77852e7357230e3c956f50f559bcc491569dfc0f (patch) | |
tree | 0cee27dd7734013087b541aa5bd14f0c1c4799c7 /include/clang/Basic/Attr.td | |
parent | b76b51e80bf36a367600eb1d088f7c24625bf195 (diff) | |
download | clang-77852e7357230e3c956f50f559bcc491569dfc0f.tar.gz |
Thread safety analysis: handle duplicate assert_lock attributes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199949 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/Attr.td')
-rw-r--r-- | include/clang/Basic/Attr.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Basic/Attr.td b/include/clang/Basic/Attr.td index 31435485ef..9e23afcca3 100644 --- a/include/clang/Basic/Attr.td +++ b/include/clang/Basic/Attr.td @@ -1180,6 +1180,7 @@ def AssertExclusiveLock : InheritableAttr { let LateParsed = 1; let TemplateDependent = 1; let ParseArgumentsAsUnevaluated = 1; + let DuplicatesAllowedWhileMerging = 1; let Subjects = SubjectList<[FunctionDefinition, FunctionTemplate]>; } @@ -1189,6 +1190,7 @@ def AssertSharedLock : InheritableAttr { let LateParsed = 1; let TemplateDependent = 1; let ParseArgumentsAsUnevaluated = 1; + let DuplicatesAllowedWhileMerging = 1; let Subjects = SubjectList<[FunctionDefinition, FunctionTemplate]>; } |