summaryrefslogtreecommitdiffstats
path: root/include/clang/Frontend/DiagnosticOptions.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-09 21:54:33 +0000
committerChris Lattner <sabre@nondot.org>2010-01-09 21:54:33 +0000
commit124fca533d9fef2e3f6359283909bd342b5f5f26 (patch)
tree33e2e79e7fd8d792fbf555cd7be5827ad521fedc /include/clang/Frontend/DiagnosticOptions.h
parent4824fcdf37139efa57466a2a5753dd6e5e792ef8 (diff)
implement -ftabstop=width, patch by Christian Adåker
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93078 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 6346dc0bfd..0220e6416e 100644
--- a/include/clang/Frontend/DiagnosticOptions.h
+++ b/include/clang/Frontend/DiagnosticOptions.h
@@ -35,6 +35,9 @@ public:
/// diagnostics, indicated by markers in the
/// input source file.
+ /// The distance between tab stops.
+ unsigned TabStop;
+
/// Column limit for formatting message diagnostics, or 0 if unused.
unsigned MessageLength;
@@ -49,6 +52,7 @@ public:
public:
DiagnosticOptions() {
IgnoreWarnings = 0;
+ TabStop = 8;
MessageLength = 0;
NoRewriteMacros = 0;
Pedantic = 0;