aboutsummaryrefslogtreecommitdiff
path: root/include/clang/CodeGen/ModuleBuilder.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-26 05:00:52 +0000
committerChris Lattner <sabre@nondot.org>2009-03-26 05:00:52 +0000
commitbd3606426d389370616126af969904ec493cb105 (patch)
treea3323b1dda81405be821f46ec5c41e420104c0da /include/clang/CodeGen/ModuleBuilder.h
parente062533e298f72d970b2aa99cd0e3818b20d73df (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.h6
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