mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-26 22:45:05 +00:00
[XRay] Move specialisations into correct namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285168 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
07792fbd6c
commit
dbc97f38e7
@ -58,6 +58,9 @@ struct YAMLXRaySledEntry {
|
||||
bool AlwaysInstrument;
|
||||
};
|
||||
|
||||
namespace llvm {
|
||||
namespace yaml {
|
||||
|
||||
template <> struct ScalarEnumerationTraits<SledEntry::FunctionKinds> {
|
||||
static void enumeration(IO &IO, SledEntry::FunctionKinds &Kind) {
|
||||
IO.enumCase(Kind, "function-enter", SledEntry::FunctionKinds::ENTRY);
|
||||
@ -78,6 +81,9 @@ template <> struct MappingTraits<YAMLXRaySledEntry> {
|
||||
static constexpr bool flow = true;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
LLVM_YAML_IS_SEQUENCE_VECTOR(YAMLXRaySledEntry)
|
||||
|
||||
namespace {
|
||||
|
Loading…
x
Reference in New Issue
Block a user