[PATCH] D85735: [OpenMP] Context selector extensions for template functions

Jon Chesterfield via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 11 09:50:33 PDT 2020


JonChesterfield added a comment.

Nice. What makes it an extension? 5.0 / 2.3.5 claims "and where variant-func-id is the name of a function variant that is either a base language identifier or, for C++, a template-id." which suggests this could be always-on



================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:5875
+    // TODO: Verify types for templates eventually.
+    if (!UDeclTy->isDependentType()) {
+      QualType NewType = Context.mergeFunctionTypes(
----------------
tabs!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85735



More information about the cfe-commits mailing list