[clang] [ObjC] Emit number, array, and dictionary literals as constants (PR #185130)

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 18 07:34:05 PDT 2026


ahatanak wrote:

> Also, @yES, and @no should be tested since those are constant, but are we doing it for those already?

Yes, they are already tested. See `objc2-constant-number-literal.m`, `arc-constant-literals.m`, and `objc2-constant-collection-literals.m`.

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


More information about the cfe-commits mailing list