Add -O[0-3s] support (following llvm-gcc).
- Passes match llvm-gcc but many of the switches aren't wired.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58034 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/ASTConsumers.h b/Driver/ASTConsumers.h
index 9c8af64..bc76df5 100644
--- a/Driver/ASTConsumers.h
+++ b/Driver/ASTConsumers.h
@@ -27,9 +27,10 @@
class ASTConsumer;
class Diagnostic;
class FileManager;
-struct LangOptions;
class Preprocessor;
class PreprocessorFactory;
+struct CompileOptions;
+struct LangOptions;
ASTConsumer *CreateASTPrinter(llvm::raw_ostream* OS = NULL);
@@ -50,6 +51,7 @@
ASTConsumer *CreateBackendConsumer(BackendAction Action,
Diagnostic &Diags,
const LangOptions &Features,
+ const CompileOptions &CompileOpts,
const std::string& InFile,
const std::string& OutFile,
bool GenerateDebugInfo);