summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-03-05 21:47:13 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-03-05 21:47:13 +0000
commit25a7fe7d87a315232a75687f3588188349d42166 (patch)
tree88c2761886da4f2d72a045ac1f958e47c60716a1 /lib/CodeGen/CodeGenFunction.cpp
parent75f094ca568d0efe44961613d8a748acbc8eb7c0 (diff)
downloadclang-25a7fe7d87a315232a75687f3588188349d42166.tar.gz
clang-25a7fe7d87a315232a75687f3588188349d42166.tar.bz2
clang-25a7fe7d87a315232a75687f3588188349d42166.tar.xz
Capabilities are required to pass a name specifying what type of capability is being annotated. There are currently only two supported names: mutex and role. Adding functionality to check for the capability name and diagnose when it's unexpected.
Note that for backwards compatibility, an unnamed capability will default to being a "mutex." This allows the deprecated lockable attribute to continue to function. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203012 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions