Skip to content

DeclInfo

Records information to resolve a single declaration, including if its declared in a system header and other declaration that this declaration depends on.

#include <DeclResolver.h>

Public Functions

Name
DeclInfo(clang::Decl * D, bool isFromSysHeader)

Public Attributes

Name
const clang::Decl * Decl
The declarations AST node itself.
std::set< clang::Decl * > DeclDependencies
All other declaration on which this declaration depends.
bool IsFromSystemHeader

Public Functions Documentation

function DeclInfo

1
2
3
4
inline DeclInfo(
    clang::Decl * D,
    bool isFromSysHeader
)

Public Attributes Documentation

variable Decl

1
const clang::Decl * Decl;

The declarations AST node itself.

variable DeclDependencies

1
std::set< clang::Decl * > DeclDependencies;

All other declaration on which this declaration depends.

variable IsFromSystemHeader

1
bool IsFromSystemHeader;

Last update: 2021-11-24
Back to top