DeLesley Hutchins (who wrote the original thread-safety attributeā€¦

Press ? to show keyboard shortcuts.
Committed
aaronballmanFeb 18 2014, 9:36 AM
Parents
rL201584: Remove trailing spaces (no other change). Bikeshed #2
Branches
Unknown
Tags
Unknown
Subscribers
None
Description

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.

rL201585

cfe/trunk/include/clang/Basic/Attr.td

Loading...

cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td

Loading...

cfe/trunk/lib/Analysis/ThreadSafety.cpp

Loading...

cfe/trunk/lib/Sema/SemaDeclAttr.cpp

Loading...

cfe/trunk/lib/Sema/SemaDeclCXX.cpp

Loading...

cfe/trunk/test/Sema/attr-capabilities.c

Loading...

cfe/trunk/test/SemaCXX/warn-thread-safety-parsing.cpp

Loading...

Add Comment