[PATCH] D22279: [ADT] Add FlagsEnum, used to enable bitwise operations on enums without static_cast.
Justin Lebar via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 13 10:28:03 PDT 2016
jlebar added a comment.
Oh, I understand why we have to use ADL to pick up these operator overloads. As written, if anyone declares any overload of, say, `operator|`, in the global namespace, then our overloads won't be found.
I will change this again. Maybe finally it'll be right...
http://reviews.llvm.org/D22279
More information about the llvm-commits
mailing list