class IdentifierResolver::IdDeclInfo
Declaration
class IdentifierResolver::IdDeclInfo { /* full declaration omitted */ };
Description
IdDeclInfo - Keeps track of information about decls associated to a particular declaration name. IdDeclInfos are lazily constructed and assigned to a declaration name the first time a decl with that declaration name is shadowed in some scope.
Declared at: clang/include/clang/Sema/IdentifierResolver.h:43
Member Variables
- private clang::IdentifierResolver::IdDeclInfo::DeclsTy Decls
Method Overview
- public void AddDecl(clang::NamedDecl * D)
- public void InsertDecl(DeclsTy::iterator Pos, clang::NamedDecl * D)
- public void RemoveDecl(clang::NamedDecl * D)
- public DeclsTy::iterator decls_begin()
- public DeclsTy::iterator decls_end()
Methods
¶void AddDecl(clang::NamedDecl* D)
void AddDecl(clang::NamedDecl* D)
Declared at: clang/include/clang/Sema/IdentifierResolver.h:50
Parameters
¶void InsertDecl(DeclsTy::iterator Pos,
clang::NamedDecl* D)
void InsertDecl(DeclsTy::iterator Pos,
clang::NamedDecl* D)
Description
Insert the given declaration at the given position in the list.
Declared at: clang/include/clang/Sema/IdentifierResolver.h:57
Parameters
- DeclsTy::iterator Pos
- clang::NamedDecl* D
¶void RemoveDecl(clang::NamedDecl* D)
void RemoveDecl(clang::NamedDecl* D)
Description
RemoveDecl - Remove the decl from the scope chain. The decl must already be part of the decl chain.
Declared at: clang/include/clang/Sema/IdentifierResolver.h:54
Parameters
¶DeclsTy::iterator decls_begin()
DeclsTy::iterator decls_begin()
Declared at: clang/include/clang/Sema/IdentifierResolver.h:47
¶DeclsTy::iterator decls_end()
DeclsTy::iterator decls_end()
Declared at: clang/include/clang/Sema/IdentifierResolver.h:48