[clang] [CIR] Generalize the special member attribute into func_info and add a callee resolver (PR #207261)

Henrich Lauko via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 7 07:43:01 PDT 2026


================
@@ -1298,6 +1298,48 @@ def CIR_CXXSpecialMemberAttr : AnyAttrOf<[
   CIR_CXXAssignAttr
 ]>;
 
+//===----------------------------------------------------------------------===//
+// FuncInfoAttr
+//===----------------------------------------------------------------------===//
+
+def CIR_FuncInfoAttr : CIR_Attr<"FuncInfo", "func_info"> {
+  let summary = "Holds the source level identity of a function";
----------------
xlauko wrote:

I don't get what is meant by source level identity?

Also `FuncInfo` is quite opaque name, this sounds more like `SourceFuncInfo` or something similar?


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


More information about the cfe-commits mailing list