From: Sean Hunt Date: Wed, 20 Jun 2012 16:05:42 +0000 (+0000) Subject: Fix a thinko and a stray debugging hunk in my attributes patch. Thanks to Jordan X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8571897a792fcbc26d86c70d6c3ef835e75af984;p=clang Fix a thinko and a stray debugging hunk in my attributes patch. Thanks to Jordan Rose and Richard Smith for catching these. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158826 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/Attr.td b/include/clang/Basic/Attr.td index f44f8689ff..988271ffbf 100644 --- a/include/clang/Basic/Attr.td +++ b/include/clang/Basic/Attr.td @@ -322,7 +322,7 @@ def ExtVectorType : Attr { } def FallThrough : Attr { - let Spellings = [GNU<"fallthrough">, CXX11<"clang","fallthrough">]; + let Spellings = [CXX11<"clang","fallthrough">]; let Subjects = [NullStmt]; } diff --git a/utils/TableGen/ClangAttrEmitter.cpp b/utils/TableGen/ClangAttrEmitter.cpp index 61fd86f170..dc58b2752c 100644 --- a/utils/TableGen/ClangAttrEmitter.cpp +++ b/utils/TableGen/ClangAttrEmitter.cpp @@ -1073,9 +1073,6 @@ void EmitClangAttrTemplateInstantiate(RecordKeeper &Records, raw_ostream &OS) { << "} // end namespace clang\n"; } -} -#include -namespace clang { // Emits the list of parsed attributes. void EmitClangAttrParsedAttrList(RecordKeeper &Records, raw_ostream &OS) { OS << "// This file is generated by TableGen. Do not edit.\n\n";