[clang] [CIR] Upstream support for null and virtual method pointers (PR #176522)

Sirui Mu via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 17 07:47:54 PST 2026


================
@@ -331,15 +343,30 @@ Attribute MethodAttr::parse(AsmParser &parser, Type odsType) {
     return get(ty, symbol);
   }
 
-  return {};
+  // Parse a uint64 that represents the vtable offset.
----------------
Lancern wrote:

Add a round-trip test for the new parser and printer.

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


More information about the cfe-commits mailing list