[cfe-commits] r157288 - in /cfe/trunk: include/clang/Basic/Attr.td include/clang/Basic/DiagnosticSemaKinds.td include/clang/Basic/TokenKinds.def include/clang/Parse/Parser.h lib/Parse/ParseDecl.cpp lib/Parse/ParseDeclCXX.cpp lib/Sema/SemaDeclAttr
hans at chromium.org
Wed Jun 6 05:55:01 PDT 2012
On Tue, May 22, 2012 at 10:28 PM, John McCall <rjmccall at apple.com> wrote:
> Author: rjmccall
> Date: Tue May 22 16:28:12 2012
> New Revision: 157288
> URL: http://llvm.org/viewvc/llvm-project?rev=157288&view=rev
> Recognize the MS inheritance attributes and turn them into attributes
> on the RecordDecl. Persist the MS portability type attributes and
> ignore them in Sema rather than the parser.
> Patch by João Matos!
> Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=157288&r1=157287&r2=157288&view=diff
> --- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
> +++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Tue May 22 16:28:12 2012
> @@ -1630,7 +1630,8 @@
> "variables and functions|functions and methods|parameters|"
> "functions, methods and blocks|functions, methods, and parameters|"
> "classes|variables|methods|variables, functions and labels|"
> - "fields and global variables|structs}1">;
> + "fields and global variables|structs|"
> + "variables, functions and tag types}1">;
I tried to find where this new "variables, functions and tag types"
variant is used, but couldn't find it.
Also, shouldn't a matching update be done to
err_attribute_wrong_decl_type below, and the AttributeDeclKind enum in
More information about the cfe-commits