diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-02-20 19:22:51 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-02-20 19:22:51 +0000 |
commit | 6b3d3e54c003b03f16e235ad2ff49e95587bbf92 (patch) | |
tree | 81d295f0e5e6912c0036d7a9bb824e3a91ebe4f1 /include/clang/Basic | |
parent | 2ec6cfcfa00832b015c7a2018884d95ef15f4477 (diff) |
Process and handle attributes on conditions and for loop variables. Process and
diagnose attributes on alias declarations, using directives, and attribute
declarations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic')
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index b69bfda242..3377a68911 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -1908,6 +1908,8 @@ def warn_attribute_not_on_decl : Warning< "%0 attribute ignored when parsing type">, InGroup<IgnoredAttributes>; def err_base_specifier_attribute : Error< "%0 attribute cannot be applied to a base specifier">; +def err_attribute_declaration : Error< + "%0 attribute cannot be used in an attribute declaration">; // Availability attribute def warn_availability_unknown_platform : Warning< |