diff options
author | Chris Lattner <sabre@nondot.org> | 2007-11-28 05:34:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-11-28 05:34:05 +0000 |
commit | 45e8cbdce25c2e16c7aac2036a591f6190097ae6 (patch) | |
tree | 305f3b00be1b424585a9e9d14830db2de61a7df4 /include/clang/CodeGen/ModuleBuilder.h | |
parent | dd1b516f2f5ed5953de1875afc2d04aa5a14d137 (diff) |
Implement support for -fwritable-strings and make the code generator
merge string literals when it is not provided.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/CodeGen/ModuleBuilder.h')
-rw-r--r-- | include/clang/CodeGen/ModuleBuilder.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clang/CodeGen/ModuleBuilder.h b/include/clang/CodeGen/ModuleBuilder.h index 245dff43f0..9ca3648337 100644 --- a/include/clang/CodeGen/ModuleBuilder.h +++ b/include/clang/CodeGen/ModuleBuilder.h @@ -23,13 +23,14 @@ namespace clang { class ASTContext; class FunctionDecl; class FileVarDecl; + struct LangOptions; namespace CodeGen { class CodeGenModule; /// Init - Create an ModuleBuilder with the specified ASTContext. - CodeGenModule *Init(ASTContext &Context, llvm::Module &M, - const llvm::TargetData &TD); + CodeGenModule *Init(ASTContext &Context, const LangOptions &Features, + llvm::Module &M, const llvm::TargetData &TD); /// CodeGenFunction - Convert the AST node for a FunctionDecl into LLVM. /// |