================
@@ -1950,7 +1963,7 @@ static inline bool needsToPrintTypeInDiagnostic(const 
model::Mix &M) {
 /// Returns whether a particular Mix between the two parameters should have
 /// implicit conversions elaborated.
 static inline bool needsToElaborateImplicitConversion(const model::Mix &M) {
-  return hasFlag(M.flags(), model::MixFlags::ImplicitConversion);
+  return model::hasFlag(M.flags(), model::MixFlags::ImplicitConversion);
----------------
localspook wrote:

It only compiled in the first place because it used argument-dependent lookup 
(`MixFlags` is declared in the `model` namespace, so it looked in there for 
`hasFlag`).

https://github.com/llvm/llvm-project/pull/172947
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to