[PATCH] D157201: [Clang] Support qualified name as member designator in offsetof

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 5 23:32:55 PDT 2023


tbaeder added a comment.

You're missing tests.



================
Comment at: clang/lib/Sema/SemaExpr.cpp:16696-16697
+
+      IdentifierInfo *II = RD->getIdentifier();
+      if (II == OC.U.IdentInfo && OC.isQualifier)
+        continue;
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157201/new/

https://reviews.llvm.org/D157201



More information about the cfe-commits mailing list