[clang] [clang]: support std::meta::info for primitive types (PR #190356)
Nhat Nguyen via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 8 15:11:07 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;
----------------
changkhothuychung wrote:
@Sirraide now I realized that the test file name is making it look confusing. I added those to test that there will be no codegen for variable r and q, as they are consteval-only. Currently we haven't had any work for mangling yet.
https://github.com/llvm/llvm-project/pull/190356
More information about the cfe-commits
mailing list