Capability attributes can now be declared on a typedef declaration as well as a…

Press ? to show keyboard shortcuts.
Committed
aaronballmanMar 24 2014, 12:29 PM
Parents
rL204656: tsan: optimize vector clock operations
Branches
Unknown
Tags
Unknown
Description

Capability attributes can now be declared on a typedef declaration as well as a structure declaration. This allows for C code to use Boolean expressions on a capability as part of another attribute. Eg) attribute((requires_capability(!SomeCapability)))

rL204657

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

Loading...

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

Loading...

cfe/trunk/include/clang/Sema/AttributeList.h

Loading...

cfe/trunk/lib/Sema/SemaDeclAttr.cpp

Loading...

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

Loading...

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

Loading...

Add Comment