A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clang.llvm.org/doxygen/IdentifierResolver_8h_source.html below:

clang: include/clang/Sema/IdentifierResolver.h Source File

14#ifndef LLVM_CLANG_SEMA_IDENTIFIERRESOLVER_H 15#define LLVM_CLANG_SEMA_IDENTIFIERRESOLVER_H 18#include "llvm/ADT/SmallVector.h" 47

DeclsTy::iterator decls_begin() {

return

Decls.begin(); }

48

DeclsTy::iterator decls_end() {

return

Decls.end(); }

50 void

AddDecl(

NamedDecl

*

D

) { Decls.push_back(

D

); }

57 void

InsertDecl(DeclsTy::iterator Pos,

NamedDecl

*

D

) {

58

Decls.insert(Pos,

D

);

84 using BaseIter

= IdDeclInfo::DeclsTy::iterator;

89

assert((

Ptr

& 0x1) == 0 &&

"Invalid Ptr!"

);

101

assert(

isIterator

() &&

"Ptr not an iterator!"

);

160 bool

AllowInlineNamespace =

false

)

const

;

188

IdDeclInfoMap *IdDeclInfos;

194 static inline bool

isDeclPtr(

void

*Ptr) {

195 return

(

reinterpret_cast<uintptr_t>

(Ptr) & 0x1) == 0;

199 static inline

IdDeclInfo *toIdDeclInfo(

void

*Ptr) {

200

assert((

reinterpret_cast<uintptr_t>

(Ptr) & 0x1) == 1

201

&&

"Ptr not a IdDeclInfo* !"

);

202 return reinterpret_cast<

IdDeclInfo*

>

(

203 reinterpret_cast<uintptr_t>

(Ptr) & ~0x1);

Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.

DeclContext - This is used only as base class of specific decl types that can act as declaration cont...

Decl - This represents one declaration (or definition), e.g.

The name of a declaration.

One of these records is kept for each identifier that is lexed.

iterator - Iterate over the decls of a specified declaration name.

bool operator==(const iterator &RHS) const

std::ptrdiff_t difference_type

IdDeclInfo::DeclsTy::iterator BaseIter

uintptr_t Ptr

Ptr - There are 2 forms that 'Ptr' represents: 1) A single NamedDecl.

iterator(BaseIter I)

A IdDeclInfo::DeclsTy::iterator that walks or not the parent declaration contexts depending on 'LookI...

iterator(NamedDecl *D)

A single NamedDecl. (Ptr & 0x1 == 0)

NamedDecl * operator*() const

std::input_iterator_tag iterator_category

bool operator!=(const iterator &RHS) const

BaseIter getIterator() const

IdentifierResolver - Keeps track of shadowed decls on enclosing scopes.

iterator begin(DeclarationName Name)

Returns an iterator over decls with the name 'Name'.

void RemoveDecl(NamedDecl *D)

RemoveDecl - Unlink the decl from its shadowed decl chain.

IdentifierResolver & operator=(const IdentifierResolver &)=delete

IdentifierResolver(const IdentifierResolver &)=delete

void InsertDeclAfter(iterator Pos, NamedDecl *D)

Insert the given declaration after the given iterator position.

bool tryAddTopLevelDecl(NamedDecl *D, DeclarationName Name)

Try to add the given declaration to the top level scope, if it (or a redeclaration of it) hasn't alre...

iterator end()

Returns the end iterator.

void AddDecl(NamedDecl *D)

AddDecl - Link the decl to its shadowed decl chain.

llvm::iterator_range< iterator > decls(DeclarationName Name)

Returns a range of decls with the name 'Name'.

bool isDeclInScope(Decl *D, DeclContext *Ctx, Scope *S=nullptr, bool AllowInlineNamespace=false) const

isDeclInScope - If 'Ctx' is a function/method, isDeclInScope returns true if 'D' is in Scope 'S',...

Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...

This represents a decl that may have a name.

Engages in a tight little dance with the lexer to efficiently preprocess tokens.

Scope - A scope is a transient data structure that is used while parsing the program.

@ Decl

The l-value was an access to a declared entity or something equivalently strong, like the address of ...

The JSON file list parser is used to communicate input to InstallAPI.

__UINTPTR_TYPE__ uintptr_t

An unsigned integer type with the property that any valid pointer to void can be converted to this ty...


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4