Go to the documentation of this file.
13 #ifndef LLVM_CLANG_TOOLING_NODEINTROSPECTION_H
14 #define LLVM_CLANG_TOOLING_NODEINTROSPECTION_H
18 #include "llvm/ADT/IntrusiveRefCntPtr.h"
25 class CXXCtorInitializer;
26 class NestedNameSpecifierLoc;
27 class TemplateArgumentLoc;
28 class CXXBaseSpecifier;
29 struct DeclarationNameInfo;
36 class LocationCall :
public llvm::ThreadSafeRefCountedBase<LocationCall> {
41 : m_flags(flags), m_on(
std::move(
on)), m_name(
std::move(
name)) {}
44 StringRef
name()
const {
return m_name; }
62 bool operator()(std::pair<SourceRange, SharedLocationCall>
const &LHS,
63 std::pair<SourceRange, SharedLocationCall>
const &RHS)
const;
65 operator()(std::pair<SourceLocation, SharedLocationCall>
const &LHS,
66 std::pair<SourceLocation, SharedLocationCall>
const &RHS)
const;
76 template <
typename T,
typename U>
87 namespace NodeIntrospection {
@ Decl
The l-value was an access to a declared entity or something equivalently strong, like the address of ...
Location wrapper for a TemplateArgument.
A C++ nested-name-specifier augmented with source location information.
Decl - This represents one declaration (or definition), e.g.
Base wrapper for a particular "section" of type source info.
Stmt - This represents one statement.
Represents a base class of a C++ class.
A dynamically typed AST node container.
Represents a C++ base or member initializer.
DeclarationNameInfo - A collector data type for bundling together a DeclarationName and the correspnd...