[clang] [Clang][WIP] Constant Expressions inside of gcc'asm strings (PR #131003)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 13 10:08:39 PDT 2025
================
@@ -17300,7 +17317,8 @@ bool Sema::EvaluateStaticAssertMessageAsString(Expr *Message,
std::optional<LookupResult> SizeMember = FindMember("size", SizeNotFound);
std::optional<LookupResult> DataMember = FindMember("data", DataNotFound);
if (SizeNotFound || DataNotFound) {
----------------
erichkeane wrote:
Should probably just check the optional.
https://github.com/llvm/llvm-project/pull/131003
More information about the cfe-commits
mailing list