aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-06-23 20:45:31 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-06-23 20:45:31 +0000
commit0cbb59089b4a07fab880b81d0984fe3ad208b057 (patch)
tree9add0dd79737f9103d5da2bcd2931e355c1dee4c /utils/TableGen
parent7c8deb38188011a0908ddd5a79d3fa5cf56ed0d9 (diff)
downloadexternal_llvm-0cbb59089b4a07fab880b81d0984fe3ad208b057.zip
external_llvm-0cbb59089b4a07fab880b81d0984fe3ad208b057.tar.gz
external_llvm-0cbb59089b4a07fab880b81d0984fe3ad208b057.tar.bz2
A little bit nicer formatting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73998 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r--utils/TableGen/LLVMCConfigurationEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp
index 8bdafbb..36f094d 100644
--- a/utils/TableGen/LLVMCConfigurationEmitter.cpp
+++ b/utils/TableGen/LLVMCConfigurationEmitter.cpp
@@ -1681,7 +1681,7 @@ void EmitOptionDefinitions (const OptionDescriptions& descs,
continue;
}
- O << "(\"" << val.Name << '\"';
+ O << "(\"" << val.Name << "\"\n";
if (val.Type == OptionType::Prefix || val.Type == OptionType::PrefixList)
O << ", cl::Prefix";
@@ -1712,7 +1712,7 @@ void EmitOptionDefinitions (const OptionDescriptions& descs,
if (!val.Help.empty())
O << ", cl::desc(\"" << val.Help << "\")";
- O << ");\n";
+ O << ");\n\n";
}
// Emit the aliases (they should go after all the 'proper' options).