summaryrefslogtreecommitdiffstats
path: root/clang/tools/clang-cc/clang-cc.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/clang-cc/clang-cc.h')
-rw-r--r--clang/tools/clang-cc/clang-cc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/tools/clang-cc/clang-cc.h b/clang/tools/clang-cc/clang-cc.h
index bdd79cdc989..b08345c1885 100644
--- a/clang/tools/clang-cc/clang-cc.h
+++ b/clang/tools/clang-cc/clang-cc.h
@@ -35,7 +35,10 @@ class LangOptions;
/// ProcessWarningOptions - Initialize the diagnostic client and process the
/// warning options specified on the command line.
-bool ProcessWarningOptions(Diagnostic &Diags);
+bool ProcessWarningOptions(Diagnostic &Diags,
+ std::vector<std::string> &Warnings,
+ bool Pedantic, bool PedanticErrors,
+ bool NoWarnings);
/// DoPrintPreprocessedInput - Implement -E mode.
void DoPrintPreprocessedInput(Preprocessor &PP, llvm::raw_ostream* OS);
OpenPOWER on IntegriCloud