summaryrefslogtreecommitdiffstats
path: root/include/clang/Frontend/DiagnosticOptions.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-12 23:52:32 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-12 23:52:32 +0000
commit26266885d6eba8ee197577dd42a8e68a0e4dd2e8 (patch)
tree8ff1d1460dc996509d51ca61f561fe71b07ad772 /include/clang/Frontend/DiagnosticOptions.h
parent80ac2358bbf3e18a941d54d481d372c7a0155199 (diff)
Add FrontendOptions, and starting moving clang-cc to it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/DiagnosticOptions.h')
-rw-r--r--include/clang/Frontend/DiagnosticOptions.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Frontend/DiagnosticOptions.h b/include/clang/Frontend/DiagnosticOptions.h
index 704769ec12..6346dc0bfd 100644
--- a/include/clang/Frontend/DiagnosticOptions.h
+++ b/include/clang/Frontend/DiagnosticOptions.h
@@ -31,6 +31,9 @@ public:
unsigned ShowOptionNames : 1; /// Show the diagnostic name for mappable
/// diagnostics.
unsigned ShowColors : 1; /// Show diagnostics with ANSI color sequences.
+ unsigned VerifyDiagnostics; /// Check that diagnostics match the expected
+ /// diagnostics, indicated by markers in the
+ /// input source file.
/// Column limit for formatting message diagnostics, or 0 if unused.
unsigned MessageLength;
@@ -57,6 +60,7 @@ public:
ShowLocation = 1;
ShowOptionNames = 0;
ShowSourceRanges = 0;
+ VerifyDiagnostics = 0;
}
};