A RetroSearch Logo

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

Search Query:

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

clang: lib/AST/DeclFriend.cpp Source File

24using namespace clang

;

26void

FriendDecl::anchor() {}

28FriendDecl

*FriendDecl::getNextFriendSlowCase() {

29 return

cast_or_null<FriendDecl>(

39 if

(

const auto

*

D

= dyn_cast<NamedDecl *>(

Friend

)) {

40

assert(isa<FunctionDecl>(

D

) ||

41

isa<CXXRecordDecl>(

D

) ||

42

isa<FunctionTemplateDecl>(

D

) ||

43

isa<ClassTemplateDecl>(

D

));

48

(cast<CXXRecordDecl>(DC)->getTemplateSpecializationKind()));

50

assert(FriendTypeTPLists.empty());

55

FriendDecl::additionalSizeToAlloc<TemplateParameterList *>(

56

FriendTypeTPLists.size());

57 auto

*FD =

new

(

C

, DC, Extra)

59

cast<CXXRecordDecl>(DC)->pushFriendDecl(FD);

64 unsigned

FriendTypeNumTPLists) {

66

additionalSizeToAlloc<TemplateParameterList *>(FriendTypeNumTPLists);

70FriendDecl

*CXXRecordDecl::getFirstFriend()

const

{

72 Decl

*

First

= data().FirstFriend.get(Source);

73 return First

? cast<FriendDecl>(

First

) : nullptr;

Defines the clang::ASTContext interface.

Defines the C++ Decl subclasses, other than those for templates (found in DeclTemplate....

Defines the C++ template declaration subclasses.

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

Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...

ExternalASTSource * getExternalSource() const

Retrieve a pointer to the external AST source associated with this AST context, if any.

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

ASTContext & getParentASTContext() const

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

FriendObjectKind getFriendObjectKind() const

Determines whether this declaration is the object of a friend declaration and, if so,...

ASTContext & getASTContext() const LLVM_READONLY

Abstract interface for external sources of AST nodes.

FriendDecl - Represents the declaration of a friend entity, which can be a function,...

static FriendDecl * Create(ASTContext &C, DeclContext *DC, SourceLocation L, FriendUnion Friend_, SourceLocation FriendL, SourceLocation EllipsisLoc={}, ArrayRef< TemplateParameterList * > FriendTypeTPLists={})

llvm::PointerUnion< NamedDecl *, TypeSourceInfo * > FriendUnion

static FriendDecl * CreateDeserialized(ASTContext &C, GlobalDeclID ID, unsigned FriendTypeNumTPLists)

Encodes a location in the source.

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

A placeholder type used to construct an empty shell of a decl-derived type that will be filled in lat...

T * get(ExternalASTSource *Source) const

Retrieve the pointer to the AST node that this lazy pointer points to.


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