diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-26 05:00:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-26 05:00:52 +0000 |
commit | bd3606426d389370616126af969904ec493cb105 (patch) | |
tree | a3323b1dda81405be821f46ec5c41e420104c0da /include/clang/CodeGen/ModuleBuilder.h | |
parent | e062533e298f72d970b2aa99cd0e3818b20d73df (diff) |
most of this is plumbing to get CompileOptions down into
CodeGenModule. Once there, add a new NoCommon option to
it and implement -fno-common.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67735 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/CodeGen/ModuleBuilder.h')
-rw-r--r-- | include/clang/CodeGen/ModuleBuilder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/CodeGen/ModuleBuilder.h b/include/clang/CodeGen/ModuleBuilder.h index b9f9d14540..5812da1b56 100644 --- a/include/clang/CodeGen/ModuleBuilder.h +++ b/include/clang/CodeGen/ModuleBuilder.h @@ -24,6 +24,7 @@ namespace llvm { namespace clang { class Diagnostic; class LangOptions; + class CompileOptions; class CodeGenerator : public ASTConsumer { public: @@ -32,9 +33,8 @@ namespace clang { }; CodeGenerator *CreateLLVMCodeGen(Diagnostic &Diags, - const LangOptions &Features, - const std::string& ModuleName, - bool GenerateDebugInfo); + const std::string &ModuleName, + const CompileOptions &CO); } #endif |