A little bit nicer formatting.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73998 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov 2009-06-23 20:45:31 +00:00
parent 7c8deb3818
commit 0cbb59089b

View File

@ -1681,7 +1681,7 @@ void EmitOptionDefinitions (const OptionDescriptions& descs,
continue; continue;
} }
O << "(\"" << val.Name << '\"'; O << "(\"" << val.Name << "\"\n";
if (val.Type == OptionType::Prefix || val.Type == OptionType::PrefixList) if (val.Type == OptionType::Prefix || val.Type == OptionType::PrefixList)
O << ", cl::Prefix"; O << ", cl::Prefix";
@ -1712,7 +1712,7 @@ void EmitOptionDefinitions (const OptionDescriptions& descs,
if (!val.Help.empty()) if (!val.Help.empty())
O << ", cl::desc(\"" << val.Help << "\")"; O << ", cl::desc(\"" << val.Help << "\")";
O << ");\n"; O << ");\n\n";
} }
// Emit the aliases (they should go after all the 'proper' options). // Emit the aliases (they should go after all the 'proper' options).