Author: maskray
Date: Thu Jul 11 23:01:37 2019
New Revision: 365874

URL: http://llvm.org/viewvc/llvm-project?rev=365874&view=rev
Log:
[test] Delete trailing spaces from YAML tests after D65566/r365869

Modified:
    clang-tools-extra/trunk/test/clang-include-fixer/merge.test
    clang-tools-extra/trunk/unittests/clang-doc/YAMLGeneratorTest.cpp

Modified: clang-tools-extra/trunk/test/clang-include-fixer/merge.test
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-include-fixer/merge.test?rev=365874&r1=365873&r2=365874&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-include-fixer/merge.test (original)
+++ clang-tools-extra/trunk/test/clang-include-fixer/merge.test Thu Jul 11 
23:01:37 2019
@@ -3,7 +3,7 @@
 # RUN: diff -u %t.golden %t.merged
 ---
 Name:            bar
-Contexts:        
+Contexts:
   - ContextType:     Namespace
     ContextName:     a
 FilePath:        '../include/bar.h'
@@ -13,7 +13,7 @@ Used:            1
 ...
 ---
 Name:            bar
-Contexts:        
+Contexts:
   - ContextType:     Namespace
     ContextName:     a
 FilePath:        '../include/barbar.h'
@@ -23,7 +23,7 @@ Used:            0
 ...
 ---
 Name:            foo
-Contexts:        
+Contexts:
   - ContextType:     Namespace
     ContextName:     a
 FilePath:        foo.h

Modified: clang-tools-extra/trunk/unittests/clang-doc/YAMLGeneratorTest.cpp
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clang-doc/YAMLGeneratorTest.cpp?rev=365874&r1=365873&r2=365874&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clang-doc/YAMLGeneratorTest.cpp (original)
+++ clang-tools-extra/trunk/unittests/clang-doc/YAMLGeneratorTest.cpp Thu Jul 
11 23:01:37 2019
@@ -45,20 +45,20 @@ TEST(YAMLGeneratorTest, emitNamespaceYAM
       R"raw(---
 USR:             '0000000000000000000000000000000000000000'
 Name:            'Namespace'
-Namespace:       
+Namespace:
   - Type:            Namespace
     Name:            'A'
-ChildNamespaces: 
+ChildNamespaces:
   - Type:            Namespace
     Name:            'ChildNamespace'
-ChildRecords:    
+ChildRecords:
   - Type:            Record
     Name:            'ChildStruct'
-ChildFunctions:  
+ChildFunctions:
   - USR:             '0000000000000000000000000000000000000000'
     Name:            'OneFunction'
     ReturnType:      {}
-ChildEnums:      
+ChildEnums:
   - USR:             '0000000000000000000000000000000000000000'
     Name:            'OneEnum'
 ...
@@ -95,35 +95,35 @@ TEST(YAMLGeneratorTest, emitRecordYAML)
       R"raw(---
 USR:             '0000000000000000000000000000000000000000'
 Name:            'r'
-Namespace:       
+Namespace:
   - Type:            Namespace
     Name:            'A'
-DefLocation:     
+DefLocation:
   LineNumber:      10
   Filename:        'test.cpp'
-Location:        
+Location:
   - LineNumber:      12
     Filename:        'test.cpp'
 TagType:         Class
-Members:         
-  - Type:            
+Members:
+  - Type:
       Name:            'int'
     Name:            'X'
     Access:          Private
-Parents:         
+Parents:
   - Type:            Record
     Name:            'F'
-VirtualParents:  
+VirtualParents:
   - Type:            Record
     Name:            'G'
-ChildRecords:    
+ChildRecords:
   - Type:            Record
     Name:            'ChildStruct'
-ChildFunctions:  
+ChildFunctions:
   - USR:             '0000000000000000000000000000000000000000'
     Name:            'OneFunction'
     ReturnType:      {}
-ChildEnums:      
+ChildEnums:
   - USR:             '0000000000000000000000000000000000000000'
     Name:            'OneEnum'
 ...
@@ -154,25 +154,25 @@ TEST(YAMLGeneratorTest, emitFunctionYAML
       R"raw(---
 USR:             '0000000000000000000000000000000000000000'
 Name:            'f'
-Namespace:       
+Namespace:
   - Type:            Namespace
     Name:            'A'
-DefLocation:     
+DefLocation:
   LineNumber:      10
   Filename:        'test.cpp'
-Location:        
+Location:
   - LineNumber:      12
     Filename:        'test.cpp'
 IsMethod:        true
-Parent:          
+Parent:
   Type:            Record
   Name:            'Parent'
-Params:          
-  - Type:            
+Params:
+  - Type:
       Name:            'int'
     Name:            'P'
-ReturnType:      
-  Type:            
+ReturnType:
+  Type:
     Name:            'void'
 ...
 )raw";
@@ -200,17 +200,17 @@ TEST(YAMLGeneratorTest, emitEnumYAML) {
       R"raw(---
 USR:             '0000000000000000000000000000000000000000'
 Name:            'e'
-Namespace:       
+Namespace:
   - Type:            Namespace
     Name:            'A'
-DefLocation:     
+DefLocation:
   LineNumber:      10
   Filename:        'test.cpp'
-Location:        
+Location:
   - LineNumber:      12
     Filename:        'test.cpp'
 Scoped:          true
-Members:         
+Members:
   - 'X'
 ...
 )raw";
@@ -337,31 +337,31 @@ TEST(YAMLGeneratorTest, emitCommentYAML)
       R"raw(---
 USR:             '0000000000000000000000000000000000000000'
 Name:            'f'
-Description:     
+Description:
   - Kind:            'FullComment'
-    Children:        
+    Children:
       - Kind:            'ParagraphComment'
-        Children:        
+        Children:
           - Kind:            'TextComment'
       - Kind:            'ParagraphComment'
-        Children:        
+        Children:
           - Kind:            'TextComment'
             Text:            ' Brief description.'
             Name:            'ParagraphComment'
       - Kind:            'ParagraphComment'
-        Children:        
+        Children:
           - Kind:            'TextComment'
             Text:            ' Extended description that'
           - Kind:            'TextComment'
             Text:            ' continues onto the next line.'
       - Kind:            'ParagraphComment'
-        Children:        
+        Children:
           - Kind:            'TextComment'
           - Kind:            'HTMLStartTagComment'
             Name:            'ul'
-            AttrKeys:        
+            AttrKeys:
               - 'class'
-            AttrValues:      
+            AttrValues:
               - 'test'
           - Kind:            'HTMLStartTagComment'
             Name:            'li'
@@ -373,48 +373,48 @@ Description:
       - Kind:            'VerbatimBlockComment'
         Name:            'verbatim'
         CloseName:       'endverbatim'
-        Children:        
+        Children:
           - Kind:            'VerbatimBlockLineComment'
             Text:            ' The description continues.'
       - Kind:            'ParamCommandComment'
         Direction:       '[out]'
         ParamName:       'I'
         Explicit:        true
-        Children:        
+        Children:
           - Kind:            'ParagraphComment'
-            Children:        
+            Children:
               - Kind:            'TextComment'
               - Kind:            'TextComment'
                 Text:            ' is a parameter.'
       - Kind:            'ParamCommandComment'
         Direction:       '[in]'
         ParamName:       'J'
-        Children:        
+        Children:
           - Kind:            'ParagraphComment'
-            Children:        
+            Children:
               - Kind:            'TextComment'
                 Text:            ' is a parameter.'
               - Kind:            'TextComment'
       - Kind:            'BlockCommandComment'
         Name:            'return'
         Explicit:        true
-        Children:        
+        Children:
           - Kind:            'ParagraphComment'
-            Children:        
+            Children:
               - Kind:            'TextComment'
                 Text:            'void'
-DefLocation:     
+DefLocation:
   LineNumber:      10
   Filename:        'test.cpp'
-Params:          
-  - Type:            
+Params:
+  - Type:
       Name:            'int'
     Name:            'I'
-  - Type:            
+  - Type:
       Name:            'int'
     Name:            'J'
-ReturnType:      
-  Type:            
+ReturnType:
+  Type:
     Name:            'void'
 ...
 )raw";


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to