summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-12-12 19:48:00 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-12-12 19:48:00 +0000
commit4ab406d7fc06b1272d02cd8be46f0c5ebe51a3da (patch)
tree696d56afdc61f5c465951166505149eb2295adc1 /utils
parent59a1c93e955c366084742ceca65e7b1afd8772ac (diff)
downloadllvm-4ab406d7fc06b1272d02cd8be46f0c5ebe51a3da.tar.gz
llvm-4ab406d7fc06b1272d02cd8be46f0c5ebe51a3da.tar.bz2
llvm-4ab406d7fc06b1272d02cd8be46f0c5ebe51a3da.tar.xz
LLVMBuild: Remove trailing newline, which irked me.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146409 91177308-0d34-0410-b5e6-96231b3b80d8
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):