Lines Matching refs:pool
245 /// Does this pool, or any of its ancestors, contain any diagnostics?
250 /// Add a diagnostic to this pool.
255 /// Steal the diagnostics from the given pool.
256 void steal(DelayedDiagnosticPool &pool) {
257 if (pool.Diagnostics.empty()) return;
260 Diagnostics = llvm_move(pool.Diagnostics);
262 Diagnostics.append(pool.pool_begin(), pool.pool_end());
264 pool.Diagnostics.clear();
275 /// Add a diagnostic to the current delay pool.
277 assert(shouldDelayDiagnostics() && "trying to delay without pool");