[clang] Add error check for HeuristicResolver (PR #155561)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 28 21:30:39 PDT 2025


================
@@ -41,7 +61,16 @@ template <typename InputNode, typename ParamT, typename InputMatcher,
           typename... OutputMatchers>
 void expectResolution(llvm::StringRef Code, ResolveFnT<ParamT> ResolveFn,
                       const InputMatcher &IM, const OutputMatchers &...OMS) {
+  llvm::SmallSet<unsigned int, 16> IgnoredDiagnostics{};
----------------
HighCommander4 wrote:

I would hold off on adding something like `IgnoreDiagnostics` until we actually have a use case for it

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


More information about the cfe-commits mailing list