[llvm] 558db27 - [NFC] Whitespace fix inside OptParserEmitter

Duncan P. N. Exon Smith via llvm-commits llvm-commits at lists.llvm.org
Fri May 15 11:27:23 PDT 2020


Author: Daniel Grumberg
Date: 2020-05-15T11:27:13-07:00
New Revision: 558db27c4971cedde1a5915f390a7897e3038e10

URL: https://github.com/llvm/llvm-project/commit/558db27c4971cedde1a5915f390a7897e3038e10
DIFF: https://github.com/llvm/llvm-project/commit/558db27c4971cedde1a5915f390a7897e3038e10.diff

LOG: [NFC] Whitespace fix inside OptParserEmitter

Added: 
    

Modified: 
    llvm/utils/TableGen/OptParserEmitter.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/utils/TableGen/OptParserEmitter.cpp b/llvm/utils/TableGen/OptParserEmitter.cpp
index bbc789115524..4e19c76cdf22 100644
--- a/llvm/utils/TableGen/OptParserEmitter.cpp
+++ b/llvm/utils/TableGen/OptParserEmitter.cpp
@@ -102,7 +102,7 @@ void EmitOptParser(RecordKeeper &Records, raw_ostream &OS) {
     OS << ", \"" << R.getValueAsString("Name") << '"';
 
     // The option identifier name.
-    OS  << ", "<< getOptionName(R);
+    OS << ", " << getOptionName(R);
 
     // The option kind.
     OS << ", Group";
@@ -149,7 +149,7 @@ void EmitOptParser(RecordKeeper &Records, raw_ostream &OS) {
     write_cstring(OS, R.getValueAsString("Name"));
 
     // The option identifier name.
-    OS  << ", "<< getOptionName(R);
+    OS << ", " << getOptionName(R);
 
     // The option kind.
     OS << ", " << R.getValueAsDef("Kind")->getValueAsString("Name");


        


More information about the llvm-commits mailing list