Clang 18 regression on C++20 mode: Unexpected placeholder builtin type!
crash · Issue #122892 · llvm/llvm-project (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Description
clang++ -v
clang version 20.0.0git (https://github.com/llvm/llvm-project c047a5b3f6e2295dd74f1e8f17f1a023150b246c)
Target: x86_64-pc-windows-msvc
Thread model: posix
clang++ main.cpp -std=c++20
struct A {
void f() {
l(r);
}
static void r() {}
static auto l(auto &&f) {} // error
//static void l(auto &&f) {} // ok
};
int main() {
A k;
k.f();
}
Metadata
Metadata
Labels
Type
Development
No branches or pull requests