]> granicus.if.org Git - clang/commitdiff
Fix a thinko and a stray debugging hunk in my attributes patch. Thanks to Jordan
authorSean Hunt <scshunt@csclub.uwaterloo.ca>
Wed, 20 Jun 2012 16:05:42 +0000 (16:05 +0000)
committerSean Hunt <scshunt@csclub.uwaterloo.ca>
Wed, 20 Jun 2012 16:05:42 +0000 (16:05 +0000)
Rose and Richard Smith for catching these.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158826 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Attr.td
utils/TableGen/ClangAttrEmitter.cpp

index f44f8689ff724c1a4738d4e09058d8ed53bd7ce4..988271ffbf248d0a7f264546125c12cd55230f5e 100644 (file)
@@ -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];
 }
 
index 61fd86f1709262520d36f9cf0a492224a9b0e438..dc58b2752ce12bcbd09e490015ae5c55aa50c865 100644 (file)
@@ -1073,9 +1073,6 @@ void EmitClangAttrTemplateInstantiate(RecordKeeper &Records, raw_ostream &OS) {
      << "} // end namespace clang\n";
 }
 
-}
-#include <cstdio>
-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";