summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-06-26 06:57:16 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-06-26 06:57:16 +0000
commit855a168dbeddfb905ca4cb1e9402a2ec2eab27ea (patch)
treed0685454dd0c0b91a0f34e4a1df8bb9946fc62a0 /tools
parent2b51d51bc3fc2b9b093f1c940dc6e5570bf0033a (diff)
downloadllvm-855a168dbeddfb905ca4cb1e9402a2ec2eab27ea.tar.gz
llvm-855a168dbeddfb905ca4cb1e9402a2ec2eab27ea.tar.bz2
llvm-855a168dbeddfb905ca4cb1e9402a2ec2eab27ea.tar.xz
Indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74281 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/lto/LTOCodeGenerator.cpp2
-rw-r--r--tools/lto/lto.cpp13
2 files changed, 6 insertions, 9 deletions
diff --git a/tools/lto/LTOCodeGenerator.cpp b/tools/lto/LTOCodeGenerator.cpp
index 8db573e61f..52624ebe91 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 7eb39ef210..a0f67b44f5 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);
}
-
-
-