[PATCH] D27334: [OpenCL] Ambiguous function call.

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 2 07:16:24 PST 2016


Anastasia added a comment.

This change seems to modify normal C behavior again. Is there any strong motivation for doing this and if yes could it be done generically with C?



================
Comment at: lib/Sema/SemaChecking.cpp:2479
+        // integer values.
+        if (FDecl->hasAttr<OverloadableAttr>()) {
+          for (const auto* Arg : Args) {
----------------
How does it check that this is a built-in function?


https://reviews.llvm.org/D27334





More information about the cfe-commits mailing list