[clang] [APINotes] Add Where.Object selectors for C++ methods (PR #216148)
Gábor Horváth via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 7 04:52:16 PDT 2026
================
@@ -2495,13 +2469,15 @@ auto APINotesReader::lookupGlobalVariable(llvm::StringRef Name,
auto APINotesReader::lookupGlobalFunction(llvm::StringRef Name,
std::optional<Context> Ctx)
-> VersionedInfo<GlobalFunctionInfo> {
- return lookupGlobalFunctionImpl(Name, Ctx);
+ return lookupGlobalFunctionImpl(Name, Ctx, FunctionSelector());
}
auto APINotesReader::lookupGlobalFunction(
----------------
Xazax-hun wrote:
I wonder if we can also get rid of this overload if we take an optional Parameters with a default argument in the previous one? Might simplify some call sites?
https://github.com/llvm/llvm-project/pull/216148
More information about the cfe-commits
mailing list