forked from OSchip/llvm-project
9e7fddbd36
Summary: New line duplication logic introduced in https://reviews.llvm.org/D63482 has two issues: (1) there is no logic that removes duplicate newlines when clang-apply-replacment reads YAML and (2) in general such logic should be applied to all strings and should happen on string serialization level instead in YAML parser. This diff changes multiline strings quotation from single quote `'` to double `"`. It solves problems with internal newlines because now they are escaped. Also double quotation solves the problem with leading whitespace after newline. In case of single quotation YAML parsers should remove leading whitespace according to specification. In case of double quotation these leading are internal space and they are preserved. There is no way to instruct YAML parsers to preserve leading whitespaces after newline so double quotation is the only viable option that solves all problems at once. Test Plan: check-all Reviewers: gribozavr, mgehre, yvvan Subscribers: xazax.hun, hiraditya, cfe-commits, llvm-commits Tags: #clang-tools-extra, #clang, #llvm Differential Revision: https://reviews.llvm.org/D80301 |
||
---|---|---|
.. | ||
bigger-expressions-double.ll | ||
const-gep.ll | ||
load-align-volatile.ll | ||
multiply-add-sub-double-row-major.ll | ||
multiply-double-contraction-fmf.ll | ||
multiply-double-contraction.ll | ||
multiply-double-row-major.ll | ||
multiply-double.ll | ||
multiply-float-contraction-fmf.ll | ||
multiply-float-contraction.ll | ||
multiply-float.ll | ||
multiply-fused-multiple-blocks.ll | ||
multiply-fused-volatile.ll | ||
multiply-fused.ll | ||
multiply-i32-row-major.ll | ||
multiply-i32.ll | ||
propagate-backward.ll | ||
propagate-backwards-unsupported.ll | ||
propagate-forward.ll | ||
propagate-mixed-users.ll | ||
propagate-multiple-iterations.ll | ||
remarks-inlining.ll | ||
remarks-shared-subtrees.ll | ||
remarks.ll | ||
store-align-volatile.ll | ||
strided-load-double.ll | ||
strided-load-float.ll | ||
strided-load-i32.ll | ||
strided-store-double.ll | ||
strided-store-float.ll | ||
strided-store-i32.ll | ||
transpose-double-row-major.ll | ||
transpose-double.ll | ||
transpose-float-row-major.ll | ||
transpose-float.ll | ||
transpose-i32-row-major.ll | ||
transpose-i32.ll |