summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/LLVMBuild.txt1
-rw-r--r--utils/TableGen/LLVMBuild.txt1
-rw-r--r--utils/llvm-build/llvmbuild/main.py3
3 files changed, 2 insertions, 3 deletions
diff --git a/utils/LLVMBuild.txt b/utils/LLVMBuild.txt
index fc16720cd1..3fc90e9389 100644
--- a/utils/LLVMBuild.txt
+++ b/utils/LLVMBuild.txt
@@ -24,4 +24,3 @@ parent = $ROOT
type = Group
name = UtilityTools
parent = $ROOT
-
diff --git a/utils/TableGen/LLVMBuild.txt b/utils/TableGen/LLVMBuild.txt
index b2a8ac6743..b0081eb588 100644
--- a/utils/TableGen/LLVMBuild.txt
+++ b/utils/TableGen/LLVMBuild.txt
@@ -20,4 +20,3 @@ type = BuildTool
name = tblgen
parent = BuildTools
required_libraries = Support TableGen
-
diff --git a/utils/llvm-build/llvmbuild/main.py b/utils/llvm-build/llvmbuild/main.py
index 9c3126c480..4c14f46c80 100644
--- a/utils/llvm-build/llvmbuild/main.py
+++ b/utils/llvm-build/llvmbuild/main.py
@@ -262,7 +262,8 @@ class LLVMProjectInfo(object):
for i,fragment in enumerate(fragments):
print >>f, '[component_%d]' % i
f.write(fragment)
- print >>f
+ if fragment is not fragments[-1]:
+ print >>f
f.close()
def write_library_table(self, output_path):