[clang] [clang-tools-extra] [clang] Heuristic resolution for explicit object parameter (PR #155143)

Mythreya Kuricheti via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 26 20:23:24 PDT 2025


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

oh whoops, done

https://github.com/llvm/llvm-project/pull/155143


More information about the cfe-commits mailing list