riccibruno added a comment.
More explicitly something like:
in `Sanitizer.h`:
template <typename T = void> struct SanitizerMasks {
static const SanitizerMask SomeMask;
/* and so on for each mask*/
};
template <typename T> const SanitizerMask SanitizerMasks<T>::SomeMask = the
definition;
And then you can write `SanitizerMasks<>::SomeMask` when you want to use this
mask.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57914/new/
https://reviews.llvm.org/D57914
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits