[cfe-commits] r67238 - in /cfe/trunk/include/clang/Basic: Diagnostic.td DiagnosticOptions.td

Ted Kremenek kremenek at apple.com
Wed Mar 18 14:13:53 PDT 2009


Author: kremenek
Date: Wed Mar 18 16:13:53 2009
New Revision: 67238

URL: http://llvm.org/viewvc/llvm-project?rev=67238&view=rev
Log:
Add stub TableGen file for diagnostic options.

Added:
    cfe/trunk/include/clang/Basic/DiagnosticOptions.td
Modified:
    cfe/trunk/include/clang/Basic/Diagnostic.td

Modified: cfe/trunk/include/clang/Basic/Diagnostic.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Diagnostic.td?rev=67238&r1=67237&r2=67238&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/Diagnostic.td (original)
+++ cfe/trunk/include/clang/Basic/Diagnostic.td Wed Mar 18 16:13:53 2009
@@ -37,6 +37,7 @@
   list<OptionControlled> Members = members;
 }
 
+// Definitions for Diagnostics.
 include "DiagnosticASTKinds.td"
 include "DiagnosticAnalysisKinds.td"
 include "DiagnosticCommonKinds.td"
@@ -46,3 +47,5 @@
 include "DiagnosticParseKinds.td"
 include "DiagnosticSemaKinds.td"
 
+// Definitions for options ("warning groups").
+include "DiagnosticOptions.td"

Added: cfe/trunk/include/clang/Basic/DiagnosticOptions.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticOptions.td?rev=67238&view=auto

==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticOptions.td (added)
+++ cfe/trunk/include/clang/Basic/DiagnosticOptions.td Wed Mar 18 16:13:53 2009
@@ -0,0 +1,14 @@
+//===--- DiagnosticOptions.td - C Language Family Diagnostic Handling -----===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+//  This file defines the TableGen definitions for the diagnostics options.
+//
+//===----------------------------------------------------------------------===//
+
+def UnusedMacrosDiags : Option<"unused-macros", [pp_macro_not_used]>;





More information about the cfe-commits mailing list