================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits