A RetroSearch Logo

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

Search Query:

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

clang: lib/AST/ByteCode/Record.cpp Source File

Go to the documentation of this file. 12using namespace clang

;

16

FieldList &&SrcFields, VirtualBaseList &&SrcVirtualBases,

17 unsigned

VirtualSize,

unsigned

BaseSize)

18

:

Decl

(

Decl

), Bases(

std

::move(SrcBases)), Fields(

std

::move(SrcFields)),

19

BaseSize(BaseSize), VirtualSize(VirtualSize), IsUnion(

Decl

->isUnion()),

20

IsAnonymousUnion(IsUnion &&

Decl

->isAnonymousStructOrUnion()) {

21 for

(

Base

&

V

: SrcVirtualBases)

22

VirtualBases.push_back({

V

.Decl,

V

.Offset + BaseSize,

V

.Desc,

V

.R});

24 for

(

Base

&B : Bases)

26 for

(Field &F : Fields)

27

FieldMap[F.Decl] = &F;

28 for

(

Base

&

V

: VirtualBases)

29

VirtualBaseMap[

V

.Decl] = &

V

;

32const

std::string Record::getName()

const

{

34

llvm::raw_string_ostream OS(

Ret

);

40const

Record::Field *Record::getField(

const FieldDecl

*FD)

const

{

42

assert(It != FieldMap.end() &&

"Missing field"

);

46const

Record::Base *Record::getBase(

const RecordDecl

*FD)

const

{

47 auto

It = BaseMap.find(FD);

48

assert(It != BaseMap.end() &&

"Missing base"

);

52const

Record::Base *Record::getBase(

QualType T

)

const

{

55 return

BaseMap.lookup(RD);

60const

Record::Base *Record::getVirtualBase(

const RecordDecl

*FD)

const

{

61 auto

It = VirtualBaseMap.find(FD);

62

assert(It != VirtualBaseMap.end() &&

"Missing virtual base"

);

Defines the clang::ASTContext interface.

const clang::PrintingPolicy & getPrintingPolicy() const

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

ASTContext & getASTContext() const LLVM_READONLY

Represents a member of a struct/union/class.

decl_type * getFirstDecl()

Return the first declaration of this declaration or itself if this is the only declaration.

A (possibly-)qualified type.

Represents a struct/union/class.

A helper class that allows the use of isa/cast/dyncast to detect TagType objects of structs/unions/cl...

const T * getAs() const

Member-template getAs<specific type>'.

bool Ret(InterpState &S, CodePtr &PC)

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

const FunctionProtoType * T


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