[PATCH] D127961: [OpenCL] Reduce emitting candidate notes for builtins

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 17 03:32:56 PDT 2022


Anastasia added inline comments.


================
Comment at: clang/lib/Sema/SemaOverload.cpp:11224
+  // so do not generate such notes.
+  if (S.getLangOpts().OpenCL && Fn->isImplicit() &&
+      Cand->FailureKind != ovl_fail_bad_conversion)
----------------
It would have been nice to print each of those overloads but my guess is that it's too much work?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127961/new/

https://reviews.llvm.org/D127961



More information about the cfe-commits mailing list