From: Evan Cheng Date: Fri, 26 Jun 2009 06:57:16 +0000 (+0000) Subject: Indentation. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=855a168dbeddfb905ca4cb1e9402a2ec2eab27ea;p=oota-llvm.git Indentation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74281 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/lto/LTOCodeGenerator.cpp b/tools/lto/LTOCodeGenerator.cpp index 8db573e61fb..52624ebe910 100644 --- a/tools/lto/LTOCodeGenerator.cpp +++ b/tools/lto/LTOCodeGenerator.cpp @@ -111,7 +111,7 @@ bool LTOCodeGenerator::setDebugInfo(lto_debug_model debug, std::string& errMsg) bool LTOCodeGenerator::setCodePICModel(lto_codegen_model model, - std::string& errMsg) + std::string& errMsg) { switch (model) { case LTO_CODEGEN_PIC_MODEL_STATIC: diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp index 7eb39ef2100..a0f67b44f5f 100644 --- a/tools/lto/lto.cpp +++ b/tools/lto/lto.cpp @@ -198,7 +198,7 @@ bool lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model debug) // bool lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model model) { - return cg->setCodePICModel(model, sLastErrorString); + return cg->setCodePICModel(model, sLastErrorString); } // @@ -206,7 +206,7 @@ bool lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model model) // void lto_codegen_set_gcc_path(lto_code_gen_t cg, const char* path) { - cg->setGccPath(path); + cg->setGccPath(path); } // @@ -224,7 +224,7 @@ void lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path) // void lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, const char* symbol) { - cg->addMustPreserveSymbol(symbol); + cg->addMustPreserveSymbol(symbol); } @@ -235,7 +235,7 @@ void lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, const char* symbol) // bool lto_codegen_write_merged_modules(lto_code_gen_t cg, const char* path) { - return cg->writeMergedModules(path, sLastErrorString); + return cg->writeMergedModules(path, sLastErrorString); } @@ -250,7 +250,7 @@ bool lto_codegen_write_merged_modules(lto_code_gen_t cg, const char* path) extern const void* lto_codegen_compile(lto_code_gen_t cg, size_t* length) { - return cg->compile(length, sLastErrorString); + return cg->compile(length, sLastErrorString); } @@ -262,6 +262,3 @@ lto_codegen_debug_options(lto_code_gen_t cg, const char * opt) { cg->setCodeGenDebugOptions(opt); } - - -