[clang-tools-extra] r190487 - Fix YAML tests.
Rui Ueyama
ruiu at google.com
Tue Sep 10 21:40:12 PDT 2013
Author: ruiu
Date: Tue Sep 10 23:40:12 2013
New Revision: 190487
URL: http://llvm.org/viewvc/llvm-project?rev=190487&view=rev
Log:
Fix YAML tests.
Modified:
clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/basic/file1.yaml
clang-tools-extra/trunk/test/clang-apply-replacements/Inputs/conflict/file2.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=190487&r1=190486&r2=190487&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:40:12 2013
@@ -1,16 +1,16 @@
---
-MainSourceFile: "source1.cpp"
+MainSourceFile: source1.cpp
Replacements:
- - FilePath: "$(path)/basic.h"
+ - FilePath: '$(path)/basic.h'
Offset: 242
Length: 26
- ReplacementText: "auto & elem : ints"
- - FilePath: "$(path)/basic.h"
+ ReplacementText: 'auto & elem : ints'
+ - FilePath: '$(path)/basic.h'
Offset: 276
Length: 22
- ReplacementText: ""
- - FilePath: "$(path)/basic.h"
+ ReplacementText: ''
+ - FilePath: '$(path)/basic.h'
Offset: 298
Length: 1
- ReplacementText: "elem"
+ ReplacementText: elem
...
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=190487&r1=190486&r2=190487&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:40:12 2013
@@ -1,16 +1,16 @@
---
-MainSourceFile: "source2.cpp"
+MainSourceFile: source2.cpp
Replacements:
- - FilePath: "$(path)/common.h"
+ - FilePath: '$(path)/common.h'
Offset: 106
Length: 26
- ReplacementText: "int & elem : ints"
- - FilePath: "$(path)/common.h"
+ ReplacementText: 'int & elem : ints'
+ - FilePath: '$(path)/common.h'
Offset: 140
Length: 7
- ReplacementText: "elem"
- - FilePath: "$(path)/common.h"
+ ReplacementText: elem
+ - FilePath: '$(path)/common.h'
Offset: 169
Length: 1
- ReplacementText: "nullptr"
+ ReplacementText: nullptr
...
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=190487&r1=190486&r2=190487&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:40:12 2013
@@ -1,20 +1,20 @@
---
-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"
+ ReplacementText: elem
+ - FilePath: '$(path)/common.h'
Offset: 432
Length: 61
- ReplacementText: "(auto & elem : C)"
- - FilePath: "$(path)/common.cpp"
+ ReplacementText: '(auto & elem : C)'
+ - FilePath: '$(path)/common.cpp'
Offset: 289
Length: 2
- ReplacementText: "elem"
- - FilePath: "$(path)/common.cpp"
+ ReplacementText: elem
+ - FilePath: '$(path)/common.cpp'
Offset: 206
Length: 63
- ReplacementText: "(auto & elem : C1)"
+ 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=190487&r1=190486&r2=190487&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:40:12 2013
@@ -1,12 +1,12 @@
---
-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"
+ ReplacementText: elem
+ - FilePath: '$(path)/common.h'
Offset: 432
Length: 61
- ReplacementText: "(auto & elem : C)"
+ ReplacementText: '(auto & elem : C)'
...
More information about the cfe-commits
mailing list