diff options
author | Caitlin Sadowski <supertri@google.com> | 2011-07-28 20:12:35 +0000 |
---|---|---|
committer | Caitlin Sadowski <supertri@google.com> | 2011-07-28 20:12:35 +0000 |
commit | db33e14661c7a118a2d9a777ae69c0ecaa036e1e (patch) | |
tree | 3219ced3e13e9ecd7fd11db0acde3327bd622bff /include/clang/Sema/AttributeList.h | |
parent | 1d05d424cb2be0e3f369ec27d8fb8be20e9ba5ae (diff) |
Added basic parsing for all remaining attributes, thread safety
analysis. This includes checking that the attributes are applied in the
correct contexts and with the correct number of arguments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136383 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/AttributeList.h')
-rw-r--r-- | include/clang/Sema/AttributeList.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/clang/Sema/AttributeList.h b/include/clang/Sema/AttributeList.h index d741e89bc8..674e13a3df 100644 --- a/include/clang/Sema/AttributeList.h +++ b/include/clang/Sema/AttributeList.h @@ -152,6 +152,8 @@ private: public: enum Kind { // Please keep this list alphabetized. + AT_acquired_after, + AT_acquired_before, AT_address_space, AT_alias, AT_aligned, @@ -178,12 +180,16 @@ public: AT_device, AT_dllexport, AT_dllimport, + AT_exclusive_lock_function, + AT_exclusive_locks_required, + AT_exclusive_trylock_function, AT_ext_vector_type, AT_fastcall, AT_format, AT_format_arg, AT_global, AT_gnu_inline, + AT_guarded_by, AT_guarded_var, AT_host, AT_IBAction, // Clang-specific. @@ -191,7 +197,9 @@ public: AT_IBOutletCollection, // Clang-specific. AT_init_priority, AT_launch_bounds, + AT_lock_returned, AT_lockable, + AT_locks_excluded, AT_malloc, AT_may_alias, AT_mode, @@ -228,6 +236,7 @@ public: AT_packed, AT_pascal, AT_pcs, // ARM specific + AT_pt_guarded_by, AT_pt_guarded_var, AT_pure, AT_regparm, @@ -236,10 +245,14 @@ public: AT_section, AT_sentinel, AT_shared, + AT_shared_lock_function, + AT_shared_locks_required, + AT_shared_trylock_function, AT_stdcall, AT_thiscall, AT_transparent_union, AT_unavailable, + AT_unlock_function, AT_unused, AT_used, AT_uuid, |