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

Igor Kudrin via All-commits all-commits at lists.llvm.org
Thu Nov 9 16:14:55 PST 2023


  Branch: refs/heads/users/igorkudrin/yaml-fix-esc-line-break
  Home:   https://github.com/llvm/llvm-project
  Commit: b9b9c49c018a28c46d7709ed3b8c8fcb53036f8f
      https://github.com/llvm/llvm-project/commit/b9b9c49c018a28c46d7709ed3b8c8fcb53036f8f
  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