diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2009-11-12 17:24:48 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2009-11-12 17:24:48 +0000 |
commit | 2811ccf48d6d898c42cc4cfad37abedb36236d20 (patch) | |
tree | 283a52cb33efc6e98cb15cacf2ecc63f3707cae7 /include/clang/CodeGen/ModuleBuilder.h | |
parent | 95c5d8ac29ba3423e735a0732713907e484b800d (diff) |
Move CompileOptions -> CodeGenOptions, and sink it into the CodeGen library.
This resolves the layering violation where CodeGen depended on Frontend.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86998 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/CodeGen/ModuleBuilder.h')
-rw-r--r-- | include/clang/CodeGen/ModuleBuilder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/CodeGen/ModuleBuilder.h b/include/clang/CodeGen/ModuleBuilder.h index 1871c8f206..2a3aa6a904 100644 --- a/include/clang/CodeGen/ModuleBuilder.h +++ b/include/clang/CodeGen/ModuleBuilder.h @@ -25,7 +25,7 @@ namespace llvm { namespace clang { class Diagnostic; class LangOptions; - class CompileOptions; + class CodeGenOptions; class CodeGenerator : public ASTConsumer { public: @@ -35,7 +35,7 @@ namespace clang { CodeGenerator *CreateLLVMCodeGen(Diagnostic &Diags, const std::string &ModuleName, - const CompileOptions &CO, + const CodeGenOptions &CGO, llvm::LLVMContext& C); } |