mirror of
https://github.com/intel/llvm.git
synced 2026-02-06 06:31:50 +08:00
Implement support for -fwritable-strings and make the code generator
merge string literals when it is not provided. llvm-svn: 44394
This commit is contained in:
@@ -18,9 +18,9 @@ using namespace clang;
|
||||
|
||||
/// Init - Create an ModuleBuilder with the specified ASTContext.
|
||||
clang::CodeGen::CodeGenModule *
|
||||
clang::CodeGen::Init(ASTContext &Context, llvm::Module &M,
|
||||
const llvm::TargetData &TD) {
|
||||
return new CodeGenModule(Context, M, TD);
|
||||
clang::CodeGen::Init(ASTContext &Context, const LangOptions &Features,
|
||||
llvm::Module &M, const llvm::TargetData &TD) {
|
||||
return new CodeGenModule(Context, Features, M, TD);
|
||||
}
|
||||
|
||||
void clang::CodeGen::Terminate(CodeGenModule *B) {
|
||||
|
||||
Reference in New Issue
Block a user