DeLesley Hutchins (who wrote the original thread-safety attribute...
DeLesley Hutchins (who wrote the original thread-safety attribute functionality) and I have agreed to start migrating from lock-specific terminology to "capability"-specific terminology. This opens the door for future threading-related analysis passes so that a common nomenclature can be used. The following attributes have been (silently) deprecated, with their replacements listed: lockable => capability exclusive_locks_required => requires_capability shared_locks_required => requires_shared_capability locks_excluded => requires_capability There are no functional changes intended. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201585 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Basic/Attr.td 32 additions, 22 deletionsinclude/clang/Basic/Attr.td
- include/clang/Basic/DiagnosticSemaKinds.td 2 additions, 2 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- lib/Analysis/ThreadSafety.cpp 8 additions, 19 deletionslib/Analysis/ThreadSafety.cpp
- lib/Sema/SemaDeclAttr.cpp 44 additions, 51 deletionslib/Sema/SemaDeclAttr.cpp
- lib/Sema/SemaDeclCXX.cpp 3 additions, 6 deletionslib/Sema/SemaDeclCXX.cpp
- test/Sema/attr-capabilities.c 25 additions, 0 deletionstest/Sema/attr-capabilities.c
- test/SemaCXX/warn-thread-safety-parsing.cpp 16 additions, 16 deletionstest/SemaCXX/warn-thread-safety-parsing.cpp
Loading
Please register or sign in to comment