[PATCH] D150108: [clang] Evaluate non-type default template argument when it is required

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 8 08:03:49 PDT 2023


shafik added inline comments.


================
Comment at: clang/lib/Sema/SemaTemplate.cpp:1614
 
-    TemplateArgument SugaredConverted, CanonicalConverted;
-    ExprResult DefaultRes = CheckTemplateArgument(
----------------
Out of curiosity where is the template argument being checked now and why does checking it early cause the failure?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150108



More information about the cfe-commits mailing list