================ @@ -279,9 +281,16 @@ class SemaSourceWithPriorities : public clang::ExternalSemaSource { return nullptr; } + /// Call ExternalASTSource::CompleteRedeclChain(D) + /// on each AST source. Returns as soon as we got + /// a definition for D. void CompleteRedeclChain(const clang::Decl *D) override { - for (size_t i = 0; i < Sources.size(); ++i) + for (size_t i = 0; i < Sources.size(); ++i) { ---------------- adrian-prantl wrote:
while we're here: `for (auto source : Sources)`? https://github.com/llvm/llvm-project/pull/95100 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits