Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / source / Plugins / ExpressionParser / Clang / ASTUtils.cpp
bloba95fce1c5aa966e7889d897cbb6ab0123b202204
1 //===-- ASTUtils.cpp ------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #include "ASTUtils.h"
11 lldb_private::ExternalASTSourceWrapper::~ExternalASTSourceWrapper() = default;
13 void lldb_private::ExternalASTSourceWrapper::PrintStats() {
14 m_Source->PrintStats();
17 lldb_private::ASTConsumerForwarder::~ASTConsumerForwarder() = default;
19 void lldb_private::ASTConsumerForwarder::PrintStats() { m_c->PrintStats(); }
21 lldb_private::SemaSourceWithPriorities::~SemaSourceWithPriorities() = default;
23 void lldb_private::SemaSourceWithPriorities::PrintStats() {
24 for (size_t i = 0; i < Sources.size(); ++i)
25 Sources[i]->PrintStats();