[clang] [APINotes] Add Where.Object selectors for C++ methods (PR #216148)
John Hui via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 17 01:10:58 PDT 2026
================
@@ -375,10 +390,48 @@ getFunctionKeyImpl(uint32_t ParentContextID, llvm::StringRef Name,
return FunctionTableKey(ParentContextID, *NameID);
}
+template <typename GetIdentifierFn>
----------------
j-hui wrote:
Does this need to be generic over `GetIdentifierFn`? Isn't its type signature fixed to `llvm:function_ref<std::optional<IdentifierID>(llvm::StringRef)>`? Same with the other overload of `getFunctionKeyImpl`
https://github.com/llvm/llvm-project/pull/216148
More information about the cfe-commits
mailing list