[all-commits] [llvm/llvm-project] 388d67: Recommit [YAML IO] Check that mapping doesn't cont...
Anton Sidorenko via All-commits
all-commits at lists.llvm.org
Mon Feb 13 06:52:26 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 388d679c1dfa7c0cb5c9ee6cd0b8592c3c3d09ef
https://github.com/llvm/llvm-project/commit/388d679c1dfa7c0cb5c9ee6cd0b8592c3c3d09ef
Author: Anton Sidorenko <anton.sidorenko at syntacore.com>
Date: 2023-02-13 (Mon, 13 Feb 2023)
Changed paths:
M llvm/lib/Support/YAMLTraits.cpp
M llvm/unittests/Support/YAMLIOTest.cpp
Log Message:
-----------
Recommit [YAML IO] Check that mapping doesn't contain duplicating keys
The revert reason is fixed in D143727 (test changes).
According to YAML specification keys must be unique for a mapping node:
"The content of a mapping node is an unordered set of key/value node pairs, with
the restriction that each of the keys is unique".
Differential Revision: https://reviews.llvm.org/D140474
More information about the All-commits
mailing list