[all-commits] [llvm/llvm-project] b4e19d: [YAMLParser] Fix handling escaped line breaks in d...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Thu Nov 9 15:56:45 PST 2023


  Branch: refs/heads/users/igorkudrin/yaml-fix-esc-line-break
  Home:   https://github.com/llvm/llvm-project
  Commit: b4e19d2f0531c99167e3391f3742729c731d9c34
      https://github.com/llvm/llvm-project/commit/b4e19d2f0531c99167e3391f3742729c731d9c34
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    M llvm/lib/Support/YAMLParser.cpp
    M llvm/test/YAMLParser/spec-09-02.test
    M llvm/test/YAMLParser/spec-09-04.test
    M llvm/test/YAMLParser/spec1.2-07-05.test

  Log Message:
  -----------
  [YAMLParser] Fix handling escaped line breaks in double-quoted scalars

Leading white spaces on the line following an escaped line break should
be excluded from the content.
See https://yaml.org/spec/1.2.2/#731-double-quoted-style.




More information about the All-commits mailing list