[all-commits] [llvm/llvm-project] 74cf52: [llvm][Support] Add indirection to call correct va...
arrv-sc via All-commits
all-commits at lists.llvm.org
Mon Dec 18 05:02:31 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 74cf5254d284f0218db29f535e9ccbcc6a59a3a4
https://github.com/llvm/llvm-project/commit/74cf5254d284f0218db29f535e9ccbcc6a59a3a4
Author: arrv-sc <150441443+arrv-sc at users.noreply.github.com>
Date: 2023-12-18 (Mon, 18 Dec 2023)
Changed paths:
M llvm/include/llvm/Support/YAMLTraits.h
M llvm/unittests/Support/YAMLIOTest.cpp
Log Message:
-----------
[llvm][Support] Add indirection to call correct validate(...) function (#71966)
Previously "yamlize" overload for validatedMappingTraits was unconditionally calling "MappingTraits<T>::validate" even if "MappingContextTraits<T, Context>" was passed to it.
Therefore compilation failed when specifying "MappingContextTraits<T,Context>::validate()"
More information about the All-commits
mailing list