LLDB
mainline
llvm-project
lldb
source
Plugins
ExpressionParser
Clang
ASTUtils.cpp
Go to the documentation of this file.
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
//===----------------------------------------------------------------------===//
8
9
#include "
ASTUtils.h
"
10
11
lldb_private::ExternalASTSourceWrapper::~ExternalASTSourceWrapper
() =
default
;
12
13
void
lldb_private::ExternalASTSourceWrapper::PrintStats
() {
14
m_Source
->PrintStats();
15
}
16
17
lldb_private::ASTConsumerForwarder::~ASTConsumerForwarder
() =
default
;
18
19
void
lldb_private::ASTConsumerForwarder::PrintStats
() {
m_c
->PrintStats(); }
20
21
lldb_private::SemaSourceWithPriorities::~SemaSourceWithPriorities
() =
default
;
22
23
void
lldb_private::SemaSourceWithPriorities::PrintStats
() {
24
for
(
size_t
i = 0; i <
Sources
.size(); ++i)
25
Sources
[i]->
PrintStats
();
26
}
ASTUtils.h
lldb_private::ASTConsumerForwarder::PrintStats
void PrintStats() override
Definition
ASTUtils.cpp:19
lldb_private::ASTConsumerForwarder::~ASTConsumerForwarder
~ASTConsumerForwarder() override
lldb_private::ASTConsumerForwarder::m_c
clang::ASTConsumer * m_c
Definition
ASTUtils.h:179
lldb_private::ExternalASTSourceWrapper::~ExternalASTSourceWrapper
~ExternalASTSourceWrapper() override
lldb_private::ExternalASTSourceWrapper::m_Source
llvm::IntrusiveRefCntPtr< ExternalASTSource > m_Source
Definition
ASTUtils.h:33
lldb_private::ExternalASTSourceWrapper::PrintStats
void PrintStats() override
Definition
ASTUtils.cpp:13
lldb_private::SemaSourceWithPriorities::Sources
llvm::SmallVector< llvm::IntrusiveRefCntPtr< clang::ExternalSemaSource >, 2 > Sources
The sources ordered in decreasing priority.
Definition
ASTUtils.h:289
lldb_private::SemaSourceWithPriorities::PrintStats
void PrintStats() override
Definition
ASTUtils.cpp:23
lldb_private::SemaSourceWithPriorities::~SemaSourceWithPriorities
~SemaSourceWithPriorities() override
Generated on
for LLDB by
1.14.0