[clang] [clang]: support std::meta::info for primitive types (PR #190356)
Nhat Nguyen via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 16 14:03:49 PDT 2026
changkhothuychung wrote:
I just added mangling for reflection. With the support we have now, we can mangling the following
```cpp
using info = decltype(^^int);
template <auto A>
void foo () {}
int main() {
foo <info {}> ();
foo <^^int> ();
return 0;
}
```
Checked against gcc output: https://godbolt.org/z/PnqjdKMoo
https://github.com/llvm/llvm-project/pull/190356
More information about the cfe-commits
mailing list