[all-commits] [llvm/llvm-project] 4c228e: [YAML IO] Check that mapping doesn't contain dupli...
Anton Sidorenko via All-commits
all-commits at lists.llvm.org
Thu Feb 9 03:46:53 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4c228ee6d40a7cff256f1a680561b6c0155ad704
https://github.com/llvm/llvm-project/commit/4c228ee6d40a7cff256f1a680561b6c0155ad704
Author: Anton Sidorenko <anton.sidorenko at syntacore.com>
Date: 2023-02-09 (Thu, 09 Feb 2023)
Changed paths:
M llvm/lib/Support/YAMLTraits.cpp
M llvm/unittests/Support/YAMLIOTest.cpp
Log Message:
-----------
[YAML IO] Check that mapping doesn't contain duplicating keys
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