[cfe-commits] r158826 - in /cfe/trunk: include/clang/Basic/Attr.td utils/TableGen/ClangAttrEmitter.cpp

Sean Hunt scshunt at csclub.uwaterloo.ca
Wed Jun 20 09:05:43 PDT 2012


Author: coppro
Date: Wed Jun 20 11:05:42 2012
New Revision: 158826

URL: http://llvm.org/viewvc/llvm-project?rev=158826&view=rev
Log:
Fix a thinko and a stray debugging hunk in my attributes patch. Thanks to Jordan
Rose and Richard Smith for catching these.

Modified:
    cfe/trunk/include/clang/Basic/Attr.td
    cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp

Modified: cfe/trunk/include/clang/Basic/Attr.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Attr.td?rev=158826&r1=158825&r2=158826&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Attr.td (original)
+++ cfe/trunk/include/clang/Basic/Attr.td Wed Jun 20 11:05:42 2012
@@ -322,7 +322,7 @@
 }
 
 def FallThrough : Attr {
-  let Spellings = [GNU<"fallthrough">, CXX11<"clang","fallthrough">];
+  let Spellings = [CXX11<"clang","fallthrough">];
   let Subjects = [NullStmt];
 }
 

Modified: cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp?rev=158826&r1=158825&r2=158826&view=diff
==============================================================================
--- cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp (original)
+++ cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp Wed Jun 20 11:05:42 2012
@@ -1073,9 +1073,6 @@
      << "} // 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";





More information about the cfe-commits mailing list