================
@@ -77,6 +82,33 @@ inline const ParmVarDecl *getFunctionOrMethodParam(const
Decl *D,
return MD->getParamDecl(Idx);
if (const auto *BD = dyn_cast<BlockDecl>(D))
return BD->getParamDecl(Idx);
+
+ // Handle declarations that do not directly own parameters but have an
----------------
erichkeane wrote:
I am not sure about all the TypeSourceInfo/TypeLoc types, but this seems like a
reasonable list? I can't think of any we are missing?
https://github.com/llvm/llvm-project/pull/210871
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits