/external/clang/lib/CodeGen/ |
D | CGRecordLayout.h | 99 const FieldDecl *FD, 126 llvm::DenseMap<const FieldDecl *, unsigned> FieldInfo; 130 llvm::DenseMap<const FieldDecl *, CGBitFieldInfo> BitFields; 185 unsigned getLLVMFieldNo(const FieldDecl *FD) const { in getLLVMFieldNo() 203 const CGBitFieldInfo &getBitFieldInfo(const FieldDecl *FD) const { in getBitFieldInfo() 205 llvm::DenseMap<const FieldDecl *, CGBitFieldInfo>::const_iterator in getBitFieldInfo()
|
D | CGClass.cpp | 539 FieldDecl *Field = MemberInit->getAnyMember(); in EmitMemberInitializer() 553 LHS = CGF.EmitLValueForFieldInitialization(LHS, cast<FieldDecl>(*I)); in EmitMemberInitializer() 593 void CodeGenFunction::EmitInitializerForField(FieldDecl *Field, in EmitInitializerForField() 753 static bool isMemcpyableField(FieldDecl *F) { in isMemcpyableField() 760 void addMemcpyableField(FieldDecl *F) { in addMemcpyableField() 842 void addInitialField(FieldDecl *F) { in addInitialField() 851 void addNextField(FieldDecl *F) { in addNextField() 875 FieldDecl *FirstField; 876 FieldDecl *LastField; 898 FieldDecl *Field = MemberInit->getMember(); in isMemberInitMemcpyable() [all …]
|
D | CGRecordLayoutBuilder.cpp | 58 llvm::DenseMap<const FieldDecl *, unsigned> Fields; 61 llvm::DenseMap<const FieldDecl *, CGBitFieldInfo> BitFields; 105 llvm::Type *LayoutUnionField(const FieldDecl *Field, 152 bool LayoutField(const FieldDecl *D, uint64_t FieldOffset); 155 void LayoutBitField(const FieldDecl *D, uint64_t FieldOffset); 229 const FieldDecl *FD, in MakeInfo() 319 FieldDecl *LastFD = *FI; in LayoutBitfields() 366 FieldDecl *FD = *BFI; in LayoutBitfields() 377 bool CGRecordLayoutBuilder::LayoutField(const FieldDecl *D, in LayoutField() 441 CGRecordLayoutBuilder::LayoutUnionField(const FieldDecl *Field, in LayoutUnionField() [all …]
|
D | CodeGenFunction.h | 188 const FieldDecl *lookup(const VarDecl *VD) const { in lookup() 193 FieldDecl *getThisFieldDecl() const { return CXXThisFieldDecl; } in getThisFieldDecl() 208 llvm::SmallDenseMap<const VarDecl *, FieldDecl *> CaptureFields; 215 FieldDecl *CXXThisFieldDecl; 236 llvm::DenseMap<const VarDecl *, FieldDecl *> LambdaCaptureFields; 237 FieldDecl *LambdaThisCaptureField; 1174 void EmitInitializerForField(FieldDecl *Field, LValue LHS, Expr *Init, 1993 RValue EmitRValueForField(LValue LV, const FieldDecl *FD); 2031 LValue EmitLValueForField(LValue Base, const FieldDecl* Field); 2032 LValue EmitLValueForLambdaField(const FieldDecl *Field); [all …]
|
/external/clang/include/clang/Sema/ |
D | CXXFieldCollector.h | 22 class FieldDecl; variable 30 SmallVector<FieldDecl*, 32> Fields; 56 void Add(FieldDecl *D) { in Add() 69 FieldDecl **getCurFields() { return &*(Fields.end() - getCurNumFields()); } in getCurFields()
|
D | ScopeInfo.h | 30 class FieldDecl; variable 359 llvm::PointerUnion<VarAndNested, FieldDecl*> VarOrField; 391 Capture(FieldDecl *Field, Expr *Init) in Capture() 403 return VarOrField.is<FieldDecl*>(); in isInitCapture() 419 FieldDecl *getInitCaptureField() const { in getInitCaptureField() 420 return VarOrField.dyn_cast<FieldDecl*>(); in getInitCaptureField() 474 void addInitCapture(FieldDecl *Field, Expr *Init) { in addInitCapture()
|
D | Initialization.h | 32 class FieldDecl; variable 173 InitializedEntity(FieldDecl *Member, const InitializedEntity *Parent) in InitializedEntity() 182 InitializedEntity(VarDecl *Var, FieldDecl *Field, SourceLocation Loc) in InitializedEntity() 289 static InitializedEntity InitializeMember(FieldDecl *Member, 309 FieldDecl *Field, in InitializeLambdaCapture()
|
/external/javassist/src/main/javassist/compiler/ast/ |
D | FieldDecl.java | 20 public class FieldDecl extends ASTList { class 21 public FieldDecl(ASTree _head, ASTList _tail) { in FieldDecl() method in FieldDecl
|
D | Visitor.java | 29 public void atFieldDecl(FieldDecl n) throws CompileError {} in atFieldDecl()
|
/external/clang/test/Index/ |
D | complete-in-invalid-method.m | 18 // CHECK: FieldDecl:{ResultType int}{TypedText x} 19 // CHECK: FieldDecl:{ResultType int}{TypedText y}
|
D | getcursor-preamble.m | 20 // CHECK: FieldDecl=x:3:9
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | LLVMConventionsChecker.cpp | 216 SmallVector<FieldDecl*, 10> FieldChain; 223 void Visit(FieldDecl *D); 239 void ASTFieldVisitor::Visit(FieldDecl *D) { in Visit() 266 for (SmallVectorImpl<FieldDecl*>::iterator I=FieldChain.begin(), in ReportError()
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 88 void UpdateEmptyFieldSubobjects(const FieldDecl *FD, CharUnits Offset); 115 bool CanPlaceFieldSubobjectAtOffset(const FieldDecl *FD, 138 bool CanPlaceFieldAtOffset(const FieldDecl *FD, CharUnits Offset); 394 EmptySubobjectMap::CanPlaceFieldSubobjectAtOffset(const FieldDecl *FD, in CanPlaceFieldSubobjectAtOffset() 436 EmptySubobjectMap::CanPlaceFieldAtOffset(const FieldDecl *FD, in CanPlaceFieldAtOffset() 500 void EmptySubobjectMap::UpdateEmptyFieldSubobjects(const FieldDecl *FD, in UpdateEmptyFieldSubobjects() 637 llvm::DenseMap<const FieldDecl *, uint64_t> ExternalFieldOffsets; 676 void LayoutField(const FieldDecl *D); 678 bool FieldPacked, const FieldDecl *D); 679 void LayoutBitField(const FieldDecl *D); [all …]
|
D | Decl.cpp | 574 } else if (const FieldDecl *Field = dyn_cast<FieldDecl>(D)) { in getLVForNamespaceScopeDecl() 784 isa<FieldDecl>(D) || in getLVForClassMember() 1391 if (isa<FieldDecl>(D) || isa<IndirectFieldDecl>(D) || isa<MSPropertyDecl>(D)) in isCXXInstanceMember() 2970 FieldDecl *FieldDecl::Create(const ASTContext &C, DeclContext *DC, in Create() 2975 return new (C) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo, in Create() 2979 FieldDecl *FieldDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 2980 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(FieldDecl)); in CreateDeserialized() 2981 return new (Mem) FieldDecl(Field, 0, SourceLocation(), SourceLocation(), in CreateDeserialized() 2985 bool FieldDecl::isAnonymousStructOrUnion() const { in isAnonymousStructOrUnion() 2995 unsigned FieldDecl::getBitWidthValue(const ASTContext &Ctx) const { in getBitWidthValue() [all …]
|
D | DeclCXX.cpp | 407 !isa<FieldDecl>(D) && in addedMember() 611 if (FieldDecl *Field = dyn_cast<FieldDecl>(D)) { in addedMember() 934 llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures, in getCaptureFields() 935 FieldDecl *&ThisCapture) const { in getCaptureFields() 1512 FieldDecl *Member, in CXXCtorInitializer() 1544 FieldDecl *Member, in CXXCtorInitializer() 1559 FieldDecl *Member, in Create() 1601 FieldDecl *D = getAnyMember(); in getSourceRange()
|
D | ASTContext.cpp | 185 (isa<FieldDecl>(D) || isa<EnumConstantDecl>(D) || isa<VarDecl>(D) || in getRawCommentForDeclNoCache() 1136 FieldDecl *ASTContext::getInstantiatedFromUnnamedFieldDecl(FieldDecl *Field) { in getInstantiatedFromUnnamedFieldDecl() 1137 llvm::DenseMap<FieldDecl *, FieldDecl *>::iterator Pos in getInstantiatedFromUnnamedFieldDecl() 1145 void ASTContext::setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, in setInstantiatedFromUnnamedFieldDecl() 1146 FieldDecl *Tmpl) { in setInstantiatedFromUnnamedFieldDecl() 1260 if (isa<FieldDecl>(D)) { in getDeclAlign() 1262 cast<FieldDecl>(D)->getParent()->hasAttr<PackedAttr>(); in getDeclAlign() 1267 else if (isa<FieldDecl>(D)) in getDeclAlign() 1270 cast<FieldDecl>(D)->getParent()->hasAttr<PackedAttr>(); in getDeclAlign() 1313 if (const FieldDecl *Field = dyn_cast<FieldDecl>(VD)) { in getDeclAlign() [all …]
|
/external/clang/include/clang/AST/ |
D | APValue.h | 29 class FieldDecl; variable 100 const FieldDecl *Field; 154 explicit APValue(const FieldDecl *D, const APValue &V = APValue()) 323 const FieldDecl *getUnionField() const { in getUnionField() 382 void setUnion(const FieldDecl *Field, const APValue &Value) { in setUnion()
|
D | DeclCXX.h | 1004 void getCaptureFields(llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures, 1005 FieldDecl *&ThisCapture) const; 1780 llvm::PointerUnion3<TypeSourceInfo *, FieldDecl *, IndirectFieldDecl *> 1819 CXXCtorInitializer(ASTContext &Context, FieldDecl *Member, 1832 CXXCtorInitializer(ASTContext &Context, FieldDecl *Member, 1849 static CXXCtorInitializer *Create(ASTContext &Context, FieldDecl *Member, 1861 bool isMemberInitializer() const { return Initializee.is<FieldDecl*>(); } in isMemberInitializer() 1922 FieldDecl *getMember() const { in getMember() 1924 return Initializee.get<FieldDecl*>(); in getMember() 1927 FieldDecl *getAnyMember() const { in getAnyMember() [all …]
|
D | ASTContext.h | 342 llvm::DenseMap<FieldDecl *, FieldDecl *> InstantiatedFromUnnamedFieldDecl; 655 FieldDecl *getInstantiatedFromUnnamedFieldDecl(FieldDecl *Field); 657 void setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl); 1319 const FieldDecl *Field=0) const; 2200 const FieldDecl *Field, 2210 const FieldDecl *Field,
|
/external/clang/tools/libclang/ |
D | CXCursor.h | 30 class FieldDecl; variable 126 CXCursor MakeCursorMemberRef(const FieldDecl *Field, SourceLocation Loc, 131 std::pair<const FieldDecl *, SourceLocation> getCursorMemberRef(CXCursor C);
|
D | CXType.cpp | 303 if (const FieldDecl *FD = dyn_cast_or_null<FieldDecl>(D)) { in clang_getFieldDeclBitWidth() 789 if (const FieldDecl *FD = dyn_cast<FieldDecl>(Res.front())) in clang_Type_getOffsetOf() 800 const FieldDecl *FD = dyn_cast_or_null<FieldDecl>(cxcursor::getCursorDecl(C)); in clang_Cursor_isBitField()
|
/external/clang/include/clang/Frontend/ |
D | LayoutOverrideSource.h | 53 llvm::DenseMap<const FieldDecl *, uint64_t> &FieldOffsets,
|
/external/clang/lib/Sema/ |
D | SemaExprMember.cpp | 111 if (dyn_cast<FieldDecl>(D) || dyn_cast<MSPropertyDecl>(D) in ClassifyImplicitMemberAccess() 212 bool IsField = isa<FieldDecl>(Rep) || isa<IndirectFieldDecl>(Rep); in diagnoseInstanceReference() 717 const CXXScopeSpec &SS, FieldDecl *Field, 801 FieldDecl *field = cast<FieldDecl>(*FI); in BuildAnonymousStructUnionMemberReference() 821 FieldDecl *field = cast<FieldDecl>(*FI++); in BuildAnonymousStructUnionMemberReference() 1002 if (FieldDecl *FD = dyn_cast<FieldDecl>(MemberDecl)) in BuildMemberReferenceExpr() 1633 const CXXScopeSpec &SS, FieldDecl *Field, in BuildFieldReferenceExpr()
|
/external/clang/include/clang/Analysis/ |
D | CFG.h | 37 class FieldDecl; variable 211 CFGMemberDtor(const FieldDecl *field) in CFGMemberDtor() 214 const FieldDecl *getFieldDecl() const { in getFieldDecl() 215 return static_cast<const FieldDecl*>(Data1.getPointer()); in getFieldDecl() 555 void appendMemberDtor(FieldDecl *FD, BumpVectorContext &C) { in appendMemberDtor()
|
/external/javassist/src/main/javassist/compiler/ |
D | Javac.java | 91 if (mem instanceof FieldDecl) in compile() 92 return compileField((FieldDecl)mem); in compile() 127 private CtField compileField(FieldDecl fd) in compileField()
|