[all-commits] [llvm/llvm-project] 4480e6: [YAMLParser] Improve plain scalar spec compliance ...
akirchhoff-modular via All-commits
all-commits at lists.llvm.org
Tue Oct 17 10:28:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4480e650b3cf7cc63cfd3767cd6b120f8bfad2ac
https://github.com/llvm/llvm-project/commit/4480e650b3cf7cc63cfd3767cd6b120f8bfad2ac
Author: akirchhoff-modular <29713761+akirchhoff-modular at users.noreply.github.com>
Date: 2023-10-17 (Tue, 17 Oct 2023)
Changed paths:
M llvm/lib/Support/YAMLParser.cpp
M llvm/test/CodeGen/MIR/Generic/first-character-parse-error.mir
A llvm/test/YAMLParser/plain-characters.test
M llvm/unittests/Support/YAMLIOTest.cpp
M llvm/unittests/Support/YAMLParserTest.cpp
Log Message:
-----------
[YAMLParser] Improve plain scalar spec compliance (#68946)
The `YAMLParser.h` header file claims support for YAML 1.2 with a few
deviations, but our plain scalar parsing failed to parse some valid YAML
according to the spec. This change puts us more in compliance with the
YAML spec, now letting us parse plain scalars containing additional
special characters in cases where they are not ambiguous.
More information about the All-commits
mailing list