Skip to content

[Clang] Attribute [[assume]] accepts unexpanded pack #91232

Closed
@Sirraide

Description

@Sirraide

This code compiles, which means it looks like I forgot to check for unexpanded parameter packs here (https://godbolt.org/z/scafKKjsG):

template <bool ...val>
void f() { 
    [[assume(val)]]; 
}

Metadata

Metadata

Assignees

Labels

accepts-invalidclang:frontendLanguage frontend issues, e.g. anything involving "Sema"good first issuehttps://github.com/llvm/llvm-project/contribute

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions