[clang] [Sema] Default arguments for template parameters affect ContainsUnexpandedPacks (PR #99880)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 23 07:00:47 PDT 2024


================
@@ -44,6 +44,13 @@ using namespace clang;
 // TemplateParameterList Implementation
 //===----------------------------------------------------------------------===//
 
+namespace {
+template <class TemplateParam>
+bool DefaultArgumentContainsUnexpandedPack(const TemplateParam &P) {
----------------
cor3ntin wrote:

```suggestion
bool DefaultTemplateArgumentContainsUnexpandedPack(const TemplateParam &P) {
```


https://github.com/llvm/llvm-project/pull/99880


More information about the cfe-commits mailing list