/external/clang/lib/ARCMigrate/ |
D | Transforms.cpp | 177 ValueDecl *Dcl; 181 ReferenceCollector(ValueDecl *D, ExprSet &refs) in ReferenceCollector() 265 void trans::collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs) { in collectRefs()
|
D | Transforms.h | 84 void collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs);
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 129 if (ValueDecl *VD = dyn_cast<ValueDecl>(D)) in clang_getCursorType() 397 if (ValueDecl *VD = dyn_cast<ValueDecl>(D)) in clang_getDeclObjCTypeEncoding()
|
/external/clang/lib/AST/ |
D | StmtDumper.cpp | 242 } else if (ValueDecl *VD = dyn_cast<ValueDecl>(D)) { in DumpDeclarator() 388 if (ValueDecl *vd = dyn_cast<ValueDecl>(d)) { in DumpDeclRef()
|
D | ExprClassification.cpp | 430 if (ValueDecl *Value = dyn_cast<ValueDecl>(Member)) in ClassifyMemberExpr()
|
D | Expr.cpp | 305 ValueDecl *D, const DeclarationNameInfo &NameInfo, in DeclRefExpr() 334 ValueDecl *D, in Create() 347 ValueDecl *D, in Create() 934 ValueDecl *memberdecl, in Create() 1744 const ValueDecl *VD = dyn_cast<ValueDecl>(D); in CanCalleeThrow()
|
D | DeclPrinter.cpp | 116 if (ValueDecl* VD = dyn_cast<ValueDecl>(D)) in getDeclType()
|
/external/clang/lib/Rewrite/ |
D | RewriteObjC.cpp | 131 llvm::SmallVector<ValueDecl *, 8> BlockByCopyDecls; 132 llvm::SmallPtrSet<ValueDecl *, 8> BlockByCopyDeclsPtrSet; 133 llvm::SmallVector<ValueDecl *, 8> BlockByRefDecls; 134 llvm::SmallPtrSet<ValueDecl *, 8> BlockByRefDeclsPtrSet; 135 llvm::DenseMap<ValueDecl *, unsigned> BlockByRefDeclNo; 136 llvm::SmallPtrSet<ValueDecl *, 8> ImportedBlockDecls; 255 ValueDecl *VD, bool def=false); 263 void RewriteBlockPointerTypeVariable(std::string& Str, ValueDecl *VD); 1621 QualType ElementType = cast<ValueDecl>(D)->getType(); in RewriteObjCForCollectionStmt() 1637 ValueDecl *VD = cast<ValueDecl>(DR->getDecl()); in RewriteObjCForCollectionStmt() [all …]
|
/external/clang/lib/Sema/ |
D | TargetAttributesSema.cpp | 135 ValueDecl *VD = dyn_cast<ValueDecl>(D); in HandleX86ForceAlignArgPointerAttr()
|
D | SemaDeclAttr.cpp | 55 if (const ValueDecl *decl = dyn_cast<ValueDecl>(D)) in getFunctionType() 330 if (const ValueDecl *VD = dyn_cast<ValueDecl>(D)) in handleIBOutletCollection() 866 ValueDecl *VD = dyn_cast<ValueDecl>(D); in handleAnalyzerNoReturnAttr() 2152 else if (ValueDecl *VD = dyn_cast<ValueDecl>(D)) in handleModeAttr() 2253 cast<ValueDecl>(D)->setType(NewTy); in handleModeAttr() 2788 ValueDecl *vd = cast<ValueDecl>(D); in handleObjCPreciseLifetimeAttr()
|
D | SemaExpr.cpp | 1117 ValueDecl *value) { in shouldCaptureValueReference() 1228 static ExprResult BuildBlockDeclRefExpr(Sema &S, ValueDecl *vd, in BuildBlockDeclRefExpr() 1258 Sema::BuildDeclRefExpr(ValueDecl *D, QualType Ty, ExprValueKind VK, in BuildDeclRefExpr() 1268 Sema::BuildDeclRefExpr(ValueDecl *D, QualType Ty, ExprValueKind VK, in BuildDeclRefExpr() 1409 if (isa<ValueDecl>(ND) || isa<FunctionTemplateDecl>(ND)) { in DiagnoseEmptyLookup() 2183 ValueDecl *VD = dyn_cast<ValueDecl>(D); in BuildDeclarationNameExpr() 7050 static ValueDecl *getPrimaryDecl(Expr *E) { in getPrimaryDecl() 7132 ValueDecl *dcl = getPrimaryDecl(op); in CheckAddressOfOperand() 7374 const ValueDecl *LeftDecl = in DiagnoseSelfAssignment() 7375 cast<ValueDecl>(LeftDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment() [all …]
|
D | SemaCodeComplete.cpp | 666 else if (ValueDecl *Value = dyn_cast<ValueDecl>(ND)) in getDeclUsageType() 1026 if (ValueDecl *VD = dyn_cast<ValueDecl>(ND->getUnderlyingDecl())) in IsIntegralConstantValue() 1043 !isa<ValueDecl>(ND) && !isa<FunctionTemplateDecl>(ND) && in IsOrdinaryNonValueName() 1113 return isa<ValueDecl>(ND) || isa<FunctionTemplateDecl>(ND) || in IsMember() 1910 } else if (ValueDecl *Value = dyn_cast<ValueDecl>(ND)) { in AddResultTypeChunk() 3640 ValueDecl *VD = dyn_cast_or_null<ValueDecl>(D); in CodeCompleteInitializer()
|
D | SemaTemplateInstantiate.cpp | 1104 ValueDecl *VD = cast<ValueDecl>(arg.getAsDecl()); in transformNonTypeTemplateParmRef() 1108 VD = cast_or_null<ValueDecl>( in transformNonTypeTemplateParmRef()
|
D | AnalysisBasedWarnings.cpp | 208 ValueDecl *VD = DRE->getDecl(); in CheckFallThrough()
|
D | SemaExprMember.cpp | 583 if (ND && (isa<ValueDecl>(ND) || isa<FunctionTemplateDecl>(ND))) { in LookupMemberExprInRecord() 773 const CXXScopeSpec &SS, ValueDecl *Member, in BuildMemberExpr()
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.h | 219 void EmitGlobalVariable(const ValueDecl *VD, llvm::Constant *Init); 230 llvm::DIType EmitTypeForVarWithBlocksAttr(const ValueDecl *VD,
|
D | CodeGenModule.h | 61 class ValueDecl; variable 462 llvm::Constant *GetWeakRefReference(const ValueDecl *VD); 834 bool MayDeferGeneration(const ValueDecl *D);
|
D | CodeGenModule.cpp | 686 bool CodeGenModule::MayDeferGeneration(const ValueDecl *Global) { in MayDeferGeneration() 694 llvm::Constant *CodeGenModule::GetWeakRefReference(const ValueDecl *VD) { in GetWeakRefReference() 720 const ValueDecl *Global = cast<ValueDecl>(GD.getDecl()); in EmitGlobal() 806 const ValueDecl *D = cast<ValueDecl>(GD.getDecl()); in EmitGlobalDefinition() 808 PrettyStackTraceDecl CrashInfo(const_cast<ValueDecl *>(D), D->getLocation(), in EmitGlobalDefinition() 955 Ty = getTypes().ConvertType(cast<ValueDecl>(GD.getDecl())->getType()); in GetAddrOfFunction() 1529 const ValueDecl *D = cast<ValueDecl>(GD.getDecl()); in EmitAliasDefinition()
|
D | CGDecl.cpp | 473 static bool isAccessedBy(const ValueDecl *decl, const Expr *e) { in isAccessedBy() 487 const ValueDecl *D, in EmitScalarInit() 1003 const ValueDecl *D, in EmitExprAsInit()
|
D | CodeGenFunction.h | 1055 unsigned getByRefValueLLVMField(const ValueDecl *VD) const; 1138 llvm::DenseMap<const ValueDecl *, std::pair<llvm::Type *, 1548 void EmitExprAsInit(const Expr *init, const ValueDecl *D, 1745 void EmitScalarInit(const Expr *init, const ValueDecl *D,
|
D | CGExprConstant.cpp | 857 ValueDecl *Decl = cast<DeclRefExpr>(E)->getDecl(); in EmitLValue() 1082 const ValueDecl *decl = cast<DeclRefExpr>(uo->getSubExpr())->getDecl(); in getMemberPointerConstant()
|
D | CGObjC.cpp | 367 ValueDecl *Cmd = OMD->getCmdDecl(); in GenerateObjCGetter() 580 ValueDecl *Cmd = OMD->getCmdDecl(); in GenerateObjCSetter() 651 ValueDecl *Self = OMD->getSelfDecl(); in GenerateObjCSetter()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 38 class ValueDecl; variable 746 ValueDecl *D; 786 ValueDecl *D, const DeclarationNameInfo &NameInfo, 800 DeclRefExpr(ValueDecl *D, QualType T, ExprValueKind VK, SourceLocation L, 812 ValueDecl *D, 820 ValueDecl *D, 833 ValueDecl *getDecl() { return D; } in getDecl() 834 const ValueDecl *getDecl() const { return D; } in getDecl() 835 void setDecl(ValueDecl *NewD) { D = NewD; } in setDecl() 2007 ValueDecl *MemberDecl; [all …]
|
D | Decl.h | 486 class ValueDecl : public NamedDecl { 490 ValueDecl(Kind DK, DeclContext *DC, SourceLocation L, in ValueDecl() function 499 static bool classof(const ValueDecl *D) { return true; } in classof() 538 class DeclaratorDecl : public ValueDecl { 559 : ValueDecl(DK, DC, L, N, T), DeclInfo(TInfo), InnerLocStart(StartL) { in DeclaratorDecl() 2094 class EnumConstantDecl : public ValueDecl { 2101 : ValueDecl(EnumConstant, DC, L, Id, T), Init((Stmt*)E), Val(V) {} in EnumConstantDecl() 2130 class IndirectFieldDecl : public ValueDecl { 2137 : ValueDecl(IndirectField, DC, L, N, T), Chaining(CH), ChainingSize(CHS) {} in IndirectFieldDecl()
|
D | DeclCXX.h | 2416 class UnresolvedUsingValueDecl : public ValueDecl { 2431 : ValueDecl(UnresolvedUsingValue, DC,
|