xref: /openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.cpp (revision be691f3bb6417f04a68938fadbcaee2d5795e764)
1dda28197Spatrick //===-- ASTUtils.cpp ------------------------------------------------------===//
2061da546Spatrick //
3061da546Spatrick // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4061da546Spatrick // See https://llvm.org/LICENSE.txt for license information.
5061da546Spatrick // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6061da546Spatrick //
7061da546Spatrick //===----------------------------------------------------------------------===//
8061da546Spatrick 
9061da546Spatrick #include "ASTUtils.h"
10061da546Spatrick 
11*be691f3bSpatrick lldb_private::ExternalASTSourceWrapper::~ExternalASTSourceWrapper() = default;
12061da546Spatrick 
PrintStats()13061da546Spatrick void lldb_private::ExternalASTSourceWrapper::PrintStats() {
14061da546Spatrick   m_Source->PrintStats();
15061da546Spatrick }
16061da546Spatrick 
17*be691f3bSpatrick lldb_private::ASTConsumerForwarder::~ASTConsumerForwarder() = default;
18061da546Spatrick 
PrintStats()19061da546Spatrick void lldb_private::ASTConsumerForwarder::PrintStats() { m_c->PrintStats(); }
20061da546Spatrick 
21*be691f3bSpatrick lldb_private::SemaSourceWithPriorities::~SemaSourceWithPriorities() = default;
22061da546Spatrick 
PrintStats()23061da546Spatrick void lldb_private::SemaSourceWithPriorities::PrintStats() {
24061da546Spatrick   for (size_t i = 0; i < Sources.size(); ++i)
25061da546Spatrick     Sources[i]->PrintStats();
26061da546Spatrick }
27