================
@@ -42,6 +62,11 @@ template <typename InputNode, typename ParamT, typename 
InputMatcher,
 void expectResolution(llvm::StringRef Code, ResolveFnT<ParamT> ResolveFn,
                       const InputMatcher &IM, const OutputMatchers &...OMS) {
   auto TU = tooling::buildASTFromCodeWithArgs(Code, {"-std=c++23"});
----------------
HighCommander4 wrote:

We need to be actually passing `CaptureDiagsKind::All` here

(A good way to validate that the mechanism we're adding is actually working is 
to change the `-std=c++23` to `-std=c++20` here. That should cause 
`MemberExpr_ExplicitObjectParameter` to fail, and it currently doesn't.)

https://github.com/llvm/llvm-project/pull/155561
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to