Home
last modified time | relevance | path

Searched refs:FieldDecl (Results 1 – 25 of 100) sorted by relevance

1234

/external/clang/include/clang/Sema/
DCXXFieldCollector.h21 class FieldDecl; variable
29 SmallVector<FieldDecl*, 32> Fields;
55 void Add(FieldDecl *D) { in Add()
68 FieldDecl **getCurFields() { return &*(Fields.end() - getCurNumFields()); } in getCurFields()
DInitialization.h30 class FieldDecl; variable
153 InitializedEntity(FieldDecl *Member, const InitializedEntity *Parent) in InitializedEntity()
162 InitializedEntity(VarDecl *Var, FieldDecl *Field, SourceLocation Loc) in InitializedEntity()
250 static InitializedEntity InitializeMember(FieldDecl *Member,
270 FieldDecl *Field, in InitializeLambdaCapture()
/external/clang/lib/CodeGen/
DCGRecordLayout.h154 static CGBitFieldInfo MakeInfo(class CodeGenTypes &Types, const FieldDecl *FD,
161 static CGBitFieldInfo MakeInfo(CodeGenTypes &Types, const FieldDecl *FD,
188 llvm::DenseMap<const FieldDecl *, unsigned> FieldInfo;
192 llvm::DenseMap<const FieldDecl *, CGBitFieldInfo> BitFields;
247 unsigned getLLVMFieldNo(const FieldDecl *FD) const { in getLLVMFieldNo()
266 const CGBitFieldInfo &getBitFieldInfo(const FieldDecl *FD) const { in getBitFieldInfo()
268 llvm::DenseMap<const FieldDecl *, CGBitFieldInfo>::const_iterator in getBitFieldInfo()
DCGRecordLayoutBuilder.cpp58 llvm::DenseMap<const FieldDecl *, unsigned> Fields;
61 llvm::DenseMap<const FieldDecl *, CGBitFieldInfo> BitFields;
112 llvm::Type *LayoutUnionField(const FieldDecl *Field,
153 bool LayoutField(const FieldDecl *D, uint64_t FieldOffset);
156 void LayoutBitField(const FieldDecl *D, uint64_t FieldOffset);
233 const FieldDecl *FD, in MakeInfo()
357 const FieldDecl *FD, in MakeInfo()
369 void CGRecordLayoutBuilder::LayoutBitField(const FieldDecl *D, in LayoutBitField()
424 bool CGRecordLayoutBuilder::LayoutField(const FieldDecl *D, in LayoutField()
496 CGRecordLayoutBuilder::LayoutUnionField(const FieldDecl *Field, in LayoutUnionField()
[all …]
DCGClass.cpp554 FieldDecl *Field = MemberInit->getAnyMember(); in EmitMemberInitializer()
606 void CodeGenFunction::EmitInitializerForField(FieldDecl *Field, in EmitInitializerForField()
793 FieldHasTrivialDestructorBody(ASTContext &Context, const FieldDecl *Field);
810 const FieldDecl *Field = *I; in HasTrivialDestructorBody()
848 const FieldDecl *Field) in FieldHasTrivialDestructorBody()
871 const FieldDecl *Field = *I; in CanSkipVTablePointerInitialization()
971 const FieldDecl *field;
976 DestroyField(const FieldDecl *field, CodeGenFunction::Destroyer *destroyer, in DestroyField()
1065 SmallVector<const FieldDecl *, 16> FieldDecls; in EnterDtorCleanups()
1068 const FieldDecl *field = *I; in EnterDtorCleanups()
/external/javassist/src/main/javassist/compiler/ast/
DFieldDecl.java20 public class FieldDecl extends ASTList { class
21 public FieldDecl(ASTree _head, ASTList _tail) { in FieldDecl() method in FieldDecl
DVisitor.java29 public void atFieldDecl(FieldDecl n) throws CompileError {} in atFieldDecl()
/external/clang/include/clang/AST/
DASTContext.h63 class FieldDecl; variable
322 llvm::DenseMap<FieldDecl *, FieldDecl *> InstantiatedFromUnnamedFieldDecl;
458 FieldDecl *getInstantiatedFromUnnamedFieldDecl(FieldDecl *Field);
460 void setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl);
464 bool ZeroBitfieldFollowsNonBitfield(const FieldDecl *FD,
465 const FieldDecl *LastFD) const;
469 bool ZeroBitfieldFollowsBitfield(const FieldDecl *FD,
470 const FieldDecl *LastFD) const;
474 bool BitfieldFollowsBitfield(const FieldDecl *FD,
475 const FieldDecl *LastFD) const;
[all …]
DAPValue.h29 class FieldDecl; variable
100 const FieldDecl *Field;
154 explicit APValue(const FieldDecl *D, const APValue &V = APValue())
316 const FieldDecl *getUnionField() const { in getUnionField()
375 void setUnion(const FieldDecl *Field, const APValue &Value) { in setUnion()
DDeclCXX.h1000 void getCaptureFields(llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures,
1001 FieldDecl *&ThisCapture) const;
1693 llvm::PointerUnion3<TypeSourceInfo *, FieldDecl *, IndirectFieldDecl *>
1733 CXXCtorInitializer(ASTContext &Context, FieldDecl *Member,
1746 CXXCtorInitializer(ASTContext &Context, FieldDecl *Member,
1763 static CXXCtorInitializer *Create(ASTContext &Context, FieldDecl *Member,
1776 bool isMemberInitializer() const { return Initializee.is<FieldDecl*>(); }
1835 FieldDecl *getMember() const {
1837 return Initializee.get<FieldDecl*>();
1840 FieldDecl *getAnyMember() const {
[all …]
DRecordLayout.h24 class FieldDecl; variable
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp87 void UpdateEmptyFieldSubobjects(const FieldDecl *FD, CharUnits Offset);
114 bool CanPlaceFieldSubobjectAtOffset(const FieldDecl *FD,
137 bool CanPlaceFieldAtOffset(const FieldDecl *FD, CharUnits Offset);
164 const FieldDecl *FD = *I; in ComputeEmptySubobjectSizes()
264 const FieldDecl *FD = *I; in CanPlaceBaseSubobjectAtOffset()
313 const FieldDecl *FD = *I; in UpdateEmptyBaseSubobjects()
383 const FieldDecl *FD = *I; in CanPlaceFieldSubobjectAtOffset()
397 EmptySubobjectMap::CanPlaceFieldSubobjectAtOffset(const FieldDecl *FD, in CanPlaceFieldSubobjectAtOffset()
439 EmptySubobjectMap::CanPlaceFieldAtOffset(const FieldDecl *FD, in CanPlaceFieldAtOffset()
494 const FieldDecl *FD = *I; in UpdateEmptyFieldSubobjects()
[all …]
DDecl.cpp253 } else if (const FieldDecl *Field = dyn_cast<FieldDecl>(D)) { in getLVForNamespaceScopeDecl()
479 isa<FieldDecl>(D) || in getLVForClassMember()
988 if (isa<FieldDecl>(D) || isa<IndirectFieldDecl>(D)) in isCXXInstanceMember()
2445 FieldDecl *FieldDecl::Create(const ASTContext &C, DeclContext *DC, in Create()
2450 return new (C) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
2454 FieldDecl *FieldDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
2455 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(FieldDecl)); in CreateDeserialized()
2456 return new (Mem) FieldDecl(Field, 0, SourceLocation(), SourceLocation(), in CreateDeserialized()
2460 bool FieldDecl::isAnonymousStructOrUnion() const { in isAnonymousStructOrUnion()
2470 unsigned FieldDecl::getBitWidthValue(const ASTContext &Ctx) const { in getBitWidthValue()
[all …]
DASTContext.cpp600 FieldDecl *ASTContext::getInstantiatedFromUnnamedFieldDecl(FieldDecl *Field) { in getInstantiatedFromUnnamedFieldDecl()
601 llvm::DenseMap<FieldDecl *, FieldDecl *>::iterator Pos in getInstantiatedFromUnnamedFieldDecl()
609 void ASTContext::setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, in setInstantiatedFromUnnamedFieldDecl()
610 FieldDecl *Tmpl) { in setInstantiatedFromUnnamedFieldDecl()
619 bool ASTContext::ZeroBitfieldFollowsNonBitfield(const FieldDecl *FD, in ZeroBitfieldFollowsNonBitfield()
620 const FieldDecl *LastFD) const { in ZeroBitfieldFollowsNonBitfield()
625 bool ASTContext::ZeroBitfieldFollowsBitfield(const FieldDecl *FD, in ZeroBitfieldFollowsBitfield()
626 const FieldDecl *LastFD) const { in ZeroBitfieldFollowsBitfield()
632 bool ASTContext::BitfieldFollowsBitfield(const FieldDecl *FD, in BitfieldFollowsBitfield()
633 const FieldDecl *LastFD) const { in BitfieldFollowsBitfield()
[all …]
DDeclCXX.cpp474 !isa<FieldDecl>(D) && in addedMember()
750 if (FieldDecl *Field = dyn_cast<FieldDecl>(D)) { in addedMember()
989 llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures, in getCaptureFields()
990 FieldDecl *&ThisCapture) const { in getCaptureFields()
1488 FieldDecl *Member, in CXXCtorInitializer()
1520 FieldDecl *Member, in CXXCtorInitializer()
1535 FieldDecl *Member, in Create()
1577 FieldDecl *D = getAnyMember(); in getSourceRange()
/external/clang/test/Index/
Dcomplete-in-invalid-method.m18 // CHECK: FieldDecl:{ResultType int}{TypedText x}
19 // CHECK: FieldDecl:{ResultType int}{TypedText y}
/external/clang/lib/StaticAnalyzer/Checkers/
DLLVMConventionsChecker.cpp215 SmallVector<FieldDecl*, 10> FieldChain;
222 void Visit(FieldDecl *D);
238 void ASTFieldVisitor::Visit(FieldDecl *D) { in Visit()
265 for (SmallVectorImpl<FieldDecl*>::iterator I=FieldChain.begin(), in ReportError()
/external/clang/tools/libclang/
DCXCursor.h30 class FieldDecl; variable
124 CXCursor MakeCursorMemberRef(const FieldDecl *Field, SourceLocation Loc,
129 std::pair<FieldDecl *, SourceLocation> getCursorMemberRef(CXCursor C);
DIndexDecl.cpp74 if (const FieldDecl *Member = Init->getAnyMember()) in VisitFunctionDecl()
97 bool VisitFieldDecl(FieldDecl *D) { in VisitFieldDecl()
/external/clang/include/clang/Frontend/
DLayoutOverrideSource.h52 llvm::DenseMap<const FieldDecl *, uint64_t> &FieldOffsets,
/external/clang/lib/Sema/
DSemaExprMember.cpp118 if (dyn_cast<FieldDecl>(D)) in ClassifyImplicitMemberAccess()
203 bool IsField = isa<FieldDecl>(Rep) || isa<IndirectFieldDecl>(Rep); in diagnoseInstanceReference()
691 const CXXScopeSpec &SS, FieldDecl *Field,
774 FieldDecl *field = cast<FieldDecl>(*FI); in BuildAnonymousStructUnionMemberReference()
794 FieldDecl *field = cast<FieldDecl>(*FI++); in BuildAnonymousStructUnionMemberReference()
934 if (FieldDecl *FD = dyn_cast<FieldDecl>(MemberDecl)) in BuildMemberReferenceExpr()
1538 const CXXScopeSpec &SS, FieldDecl *Field, in BuildFieldReferenceExpr()
/external/clang/include/clang/Analysis/
DCFG.h36 class FieldDecl; variable
185 CFGMemberDtor(const FieldDecl *field) in CFGMemberDtor()
188 const FieldDecl *getFieldDecl() const { in getFieldDecl()
189 return static_cast<const FieldDecl*>(Data1.getPointer()); in getFieldDecl()
522 void appendMemberDtor(FieldDecl *FD, BumpVectorContext &C) { in appendMemberDtor()
/external/javassist/src/main/javassist/compiler/
DJavac.java91 if (mem instanceof FieldDecl) in compile()
92 return compileField((FieldDecl)mem); in compile()
127 private CtField compileField(FieldDecl fd) in compileField()
/external/clang/lib/Frontend/
DASTConsumers.cpp336 FieldDecl *FD = cast<FieldDecl>(*I); in PrintDeclContext()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DMemRegion.h858 FieldRegion(const FieldDecl *fd, const MemRegion* sReg) in FieldRegion()
862 const FieldDecl *getDecl() const { return cast<FieldDecl>(D); } in getDecl()
871 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const FieldDecl *FD, in ProfileRegion()
1140 const FieldRegion *getFieldRegion(const FieldDecl *fd,

1234