diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2014-03-05 21:47:13 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2014-03-05 21:47:13 +0000 |
| commit | 25a7fe7d87a315232a75687f3588188349d42166 (patch) | |
| tree | 88c2761886da4f2d72a045ac1f958e47c60716a1 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 75f094ca568d0efe44961613d8a748acbc8eb7c0 (diff) | |
| download | clang-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
