[all-commits] [llvm/llvm-project] e80096: [YAMLParser] Support block nodes when parsing YAML...

Zain Jaffal via All-commits all-commits at lists.llvm.org
Mon Jun 26 06:31:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e800967eb1105177f561732814297bfecfaf63c2
      https://github.com/llvm/llvm-project/commit/e800967eb1105177f561732814297bfecfaf63c2
  Author: Zain Jaffal <z_jaffal at apple.com>
  Date:   2023-06-26 (Mon, 26 Jun 2023)

  Changed paths:
    M llvm/lib/Remarks/YAMLRemarkParser.cpp
    M llvm/unittests/Remarks/YAMLRemarksParsingTest.cpp

  Log Message:
  -----------
  [YAMLParser] Support block nodes when parsing YAML strings.

Previously if a string is in the format
```
|
      val
      val2
      val3
```
Yaml parser will error out without parsing the string. The mentioned pattern is a valid yaml str and should be parsed.

Differential Revision: https://reviews.llvm.org/D153760




More information about the All-commits mailing list