[clang-tools-extra] r190489 - Fix YAML tests again.
Rui Ueyama
ruiu at google.com
Tue Sep 10 21:51:09 PDT 2013
Author: ruiu
Date: Tue Sep 10 23:51:09 2013
New Revision: 190489
URL: http://llvm.org/viewvc/llvm-project?rev=190489&view=rev
Log:
Fix YAML tests again.
Modified:
clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/basic/file1.yaml
clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/basic/file2.yaml
clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/conflict/file1.yaml
clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/conflict/file2.yaml
clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/conflict/file3.yaml
clang-tools-extra/trunk/test/clang-modernize/HeaderReplacements/common_expected.yaml
clang-tools-extra/trunk/test/clang-modernize/HeaderReplacements/main_expected.yaml
Modified: clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/basic/file1.yaml
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/basic/file1.yaml?rev=190489&r1=190488&r2=190489&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/basic/file1.yaml (original)
+++ clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/basic/file1.yaml Tue Sep 10 23:51:09 2013
@@ -1,15 +1,15 @@
---
MainSourceFile: source1.cpp
Replacements:
- - FilePath: '$(path)/basic.h'
+ - FilePath: $(path)/basic.h
Offset: 242
Length: 26
ReplacementText: 'auto & elem : ints'
- - FilePath: '$(path)/basic.h'
+ - FilePath: $(path)/basic.h
Offset: 276
Length: 22
ReplacementText: ''
- - FilePath: '$(path)/basic.h'
+ - FilePath: $(path)/basic.h
Offset: 298
Length: 1
ReplacementText: elem
Modified: clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/basic/file2.yaml
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/basic/file2.yaml?rev=190489&r1=190488&r2=190489&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/basic/file2.yaml (original)
+++ clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/basic/file2.yaml Tue Sep 10 23:51:09 2013
@@ -1,8 +1,8 @@
---
-MainSourceFile: "source2.cpp"
+MainSourceFile: source2.cpp
Replacements:
- - FilePath: "$(path)/basic.h"
+ - FilePath: $(path)/basic.h
Offset: 148
Length: 0
- ReplacementText: "override "
+ ReplacementText: 'override '
...
Modified: clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/conflict/file1.yaml
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/conflict/file1.yaml?rev=190489&r1=190488&r2=190489&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/conflict/file1.yaml (original)
+++ clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/conflict/file1.yaml Tue Sep 10 23:51:09 2013
@@ -1,16 +1,16 @@
---
-MainSourceFile: "source1.cpp"
+MainSourceFile: source1.cpp
Replacements:
- - FilePath: "$(path)/common.h"
+ - FilePath: $(path)/common.h
Offset: 106
Length: 26
- ReplacementText: "auto & i : ints"
- - FilePath: "$(path)/common.h"
+ ReplacementText: 'auto & i : ints'
+ - FilePath: $(path)/common.h
Offset: 140
Length: 7
- ReplacementText: "i"
- - FilePath: "$(path)/common.h"
+ ReplacementText: i
+ - FilePath: $(path)/common.h
Offset: 160
Length: 12
- ReplacementText: ""
+ ReplacementText: ''
...
Modified: clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/conflict/file2.yaml
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/conflict/file2.yaml?rev=190489&r1=190488&r2=190489&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/conflict/file2.yaml (original)
+++ clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/conflict/file2.yaml Tue Sep 10 23:51:09 2013
@@ -1,15 +1,15 @@
---
MainSourceFile: source2.cpp
Replacements:
- - FilePath: '$(path)/common.h'
+ - FilePath: $(path)/common.h
Offset: 106
Length: 26
ReplacementText: 'int & elem : ints'
- - FilePath: '$(path)/common.h'
+ - FilePath: $(path)/common.h
Offset: 140
Length: 7
ReplacementText: elem
- - FilePath: '$(path)/common.h'
+ - FilePath: $(path)/common.h
Offset: 169
Length: 1
ReplacementText: nullptr
Modified: clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/conflict/file3.yaml
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/conflict/file3.yaml?rev=190489&r1=190488&r2=190489&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/conflict/file3.yaml (original)
+++ clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/conflict/file3.yaml Tue Sep 10 23:51:09 2013
@@ -1,7 +1,7 @@
---
-MainSourceFile: "source1.cpp"
+MainSourceFile: source1.cpp
Replacements:
- - FilePath: "$(path)/common.h"
+ - FilePath: $(path)/common.h
Offset: 169
Length: 0
ReplacementText: "(int*)"
Modified: clang-tools-extra/trunk/test/clang-modernize/HeaderReplacements/common_expected.yaml
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-modernize/HeaderReplacements/common_expected.yaml?rev=190489&r1=190488&r2=190489&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-modernize/HeaderReplacements/common_expected.yaml (original)
+++ clang-tools-extra/trunk/test/clang-modernize/HeaderReplacements/common_expected.yaml Tue Sep 10 23:51:09 2013
@@ -1,19 +1,19 @@
---
-MainSourceFile: '$(path)/common.cpp'
+MainSourceFile: $(path)/common.cpp
Replacements:
- - FilePath: '$(path)/common.h'
+ - FilePath: $(path)/common.h
Offset: 506
Length: 2
ReplacementText: elem
- - FilePath: '$(path)/common.h'
+ - FilePath: $(path)/common.h
Offset: 432
Length: 61
ReplacementText: '(auto & elem : C)'
- - FilePath: '$(path)/common.cpp'
+ - FilePath: $(path)/common.cpp
Offset: 289
Length: 2
ReplacementText: elem
- - FilePath: '$(path)/common.cpp'
+ - FilePath: $(path)/common.cpp
Offset: 206
Length: 63
ReplacementText: '(auto & elem : C1)'
Modified: clang-tools-extra/trunk/test/clang-modernize/HeaderReplacements/main_expected.yaml
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-modernize/HeaderReplacements/main_expected.yaml?rev=190489&r1=190488&r2=190489&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-modernize/HeaderReplacements/main_expected.yaml (original)
+++ clang-tools-extra/trunk/test/clang-modernize/HeaderReplacements/main_expected.yaml Tue Sep 10 23:51:09 2013
@@ -1,11 +1,11 @@
---
-MainSourceFile: '$(path)/main.cpp'
+MainSourceFile: $(path)/main.cpp
Replacements:
- - FilePath: '$(path)/common.h'
+ - FilePath: $(path)/common.h
Offset: 506
Length: 2
ReplacementText: elem
- - FilePath: '$(path)/common.h'
+ - FilePath: $(path)/common.h
Offset: 432
Length: 61
ReplacementText: '(auto & elem : C)'
More information about the cfe-commits
mailing list