ASTUtils.cpp revision 351290
1//===-- ASTUtils.cpp --------------------------------------------*- C++ -*-===// 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//===----------------------------------------------------------------------===// 8 9#include "ASTUtils.h" 10 11lldb_private::ExternalASTSourceWrapper::~ExternalASTSourceWrapper() {} 12 13void lldb_private::ExternalASTSourceWrapper::PrintStats() { 14 m_Source->PrintStats(); 15} 16 17lldb_private::ASTConsumerForwarder::~ASTConsumerForwarder() {} 18 19void lldb_private::ASTConsumerForwarder::PrintStats() { m_c->PrintStats(); } 20 21lldb_private::SemaSourceWithPriorities::~SemaSourceWithPriorities() {} 22 23void lldb_private::SemaSourceWithPriorities::PrintStats() { 24 for (size_t i = 0; i < Sources.size(); ++i) 25 Sources[i]->PrintStats(); 26} 27