[clang] [clang]: support std::meta::info for primitive types (PR #190356)

via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 4 08:07:00 PDT 2026


================
@@ -1,6 +1,10 @@
 // RUN: %clang_cc1 -std=c++26 -freflection -triple x86_64-unknown-linux-gnu \
 // RUN:   -emit-llvm -o - %s -verify
 
+constexpr auto r = ^^int;
+constexpr auto q = r;
----------------
Sirraide wrote:

Are global/`static` variables of consteval-only type allowed if they’re not ODR-used? If not then this is just ill-formed and shouldn’t be in a test

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


More information about the cfe-commits mailing list