aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/FrontendOptions.h
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2010-08-13 17:31:00 +0000
committerNick Lewycky <nicholas@mxc.ca>2010-08-13 17:31:00 +0000
commit1450f265fcc84a7ca64dd9f3b8d4492c5bd55e23 (patch)
treec0dc75d7a615172e0636c10db18c126785a9828d /include/clang/Frontend/FrontendOptions.h
parent1999844e7a18786e61e619e1dc6c789827541863 (diff)
Add a new cc1 option -fix-what-you-can which when combined with the fix-it mode
will apply all fixes even when there were other errors in the file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/FrontendOptions.h')
-rw-r--r--include/clang/Frontend/FrontendOptions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Frontend/FrontendOptions.h b/include/clang/Frontend/FrontendOptions.h
index 7040b5c1f8..48ce5074fa 100644
--- a/include/clang/Frontend/FrontendOptions.h
+++ b/include/clang/Frontend/FrontendOptions.h
@@ -74,6 +74,8 @@ public:
unsigned ShowTimers : 1; ///< Show timers for individual
/// actions.
unsigned ShowVersion : 1; ///< Show the -version text.
+ unsigned FixWhatYouCan : 1; ///< Apply fixes even if there are
+ /// unfixable errors.
/// The input files and their types.
std::vector<std::pair<InputKind, std::string> > Inputs;