[clang] [APINotes] Diagnose invalid Where.Parameters selectors (PR #209408)
John Hui via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 23 18:50:17 PDT 2026
================
@@ -1072,6 +1073,69 @@ getAPINotesParameterSelectorCandidates(const Sema &S, const FunctionDecl *FD) {
return Candidates;
}
+static api_notes::APINotesFunctionSelectorKey
+getBroadAPINotesSelectorKey(api_notes::APINotesFunctionSelectorKey Key) {
+ Key.ParameterTypeIDs = std::nullopt;
----------------
j-hui wrote:
Sorry if I've missed something from elsewhere, but why does this field need to be set here?
https://github.com/llvm/llvm-project/pull/209408
More information about the cfe-commits
mailing list