summaryrefslogtreecommitdiff
path: root/lib/LTO
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-01-10 20:24:35 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-01-10 20:24:35 +0000
commitd91c160b0a330ca95e09acc90764160406ecba85 (patch)
tree10e87862b9c36b2131812e94411cb607ec97f680 /lib/LTO
parentee3f7de62e5616242441a76a8e92260d7b0f10e5 (diff)
downloadllvm-d91c160b0a330ca95e09acc90764160406ecba85.tar.gz
llvm-d91c160b0a330ca95e09acc90764160406ecba85.tar.bz2
llvm-d91c160b0a330ca95e09acc90764160406ecba85.tar.xz
LTO: whitespace changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198954 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/LTO')
-rw-r--r--lib/LTO/LTOCodeGenerator.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/LTO/LTOCodeGenerator.cpp b/lib/LTO/LTOCodeGenerator.cpp
index 0a375c89ca..17a6290637 100644
--- a/lib/LTO/LTOCodeGenerator.cpp
+++ b/lib/LTO/LTOCodeGenerator.cpp
@@ -82,8 +82,7 @@ LTOCodeGenerator::~LTOCodeGenerator() {
// Initialize LTO passes. Please keep this funciton in sync with
// PassManagerBuilder::populateLTOPassManager(), and make sure all LTO
-// passes are initialized.
-//
+// passes are initialized.
void LTOCodeGenerator::initializeLTOPasses() {
PassRegistry &R = *PassRegistry::getPassRegistry();
@@ -197,7 +196,7 @@ bool LTOCodeGenerator::writeMergedModules(const char *path,
return true;
}
-bool LTOCodeGenerator::compile_to_file(const char** name,
+bool LTOCodeGenerator::compile_to_file(const char** name,
bool disableOpt,
bool disableInline,
bool disableGVNLoadPRE,
@@ -461,7 +460,7 @@ bool LTOCodeGenerator::generateObjectFile(raw_ostream &out,
// Add an appropriate DataLayout instance for this module...
passes.add(new DataLayout(*TargetMach->getDataLayout()));
- // Add appropriate TargetLibraryInfo for this module.
+ // Add appropriate TargetLibraryInfo for this module.
passes.add(new TargetLibraryInfo(Triple(TargetMach->getTargetTriple())));
TargetMach->addAnalysisPasses(passes);