]> granicus.if.org Git - clang/commit
Adding role-based capability attributes that allow you to express role management...
authorAaron Ballman <aaron@aaronballman.com>
Fri, 21 Feb 2014 21:05:14 +0000 (21:05 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 21 Feb 2014 21:05:14 +0000 (21:05 +0000)
commite81eb42ceb255a6fc0f2804adcb128dd04c4bbb2
treeb27875e5618dd01a1bb203260152dc8dab5c9715
parent92856c23b572843ece0d6c23f68c0acfefad5de6
Adding role-based capability attributes that allow you to express role management: asserting a capability is held, acquiring a capability and releasing a capability. Also includes some skeleton documentation for these new attributes.

This functionality should be considered a WIP.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201890 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaDeclCXX.cpp
test/Sema/attr-capabilities.c