A little bit nicer formatting.
authorMikhail Glushenkov <foldr@codedgers.com>
Tue, 23 Jun 2009 20:45:31 +0000 (20:45 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Tue, 23 Jun 2009 20:45:31 +0000 (20:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73998 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/LLVMCConfigurationEmitter.cpp

index 8bdafbb8ab8f9b3465ce0b707b16876a69e30457..36f094d3261caafda27a0ed84ecd27e99e7311e0 100644 (file)
@@ -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).