Home
last modified time | relevance | path

Searched refs:ValueDecl (Results 1 – 25 of 43) sorted by relevance

12

/external/clang/lib/ARCMigrate/
DTransforms.cpp177 ValueDecl *Dcl;
181 ReferenceCollector(ValueDecl *D, ExprSet &refs) in ReferenceCollector()
265 void trans::collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs) { in collectRefs()
DTransforms.h84 void collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs);
/external/clang/tools/libclang/
DCXType.cpp129 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/
DStmtDumper.cpp242 } else if (ValueDecl *VD = dyn_cast<ValueDecl>(D)) { in DumpDeclarator()
388 if (ValueDecl *vd = dyn_cast<ValueDecl>(d)) { in DumpDeclRef()
DExprClassification.cpp430 if (ValueDecl *Value = dyn_cast<ValueDecl>(Member)) in ClassifyMemberExpr()
DExpr.cpp305 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()
DDeclPrinter.cpp116 if (ValueDecl* VD = dyn_cast<ValueDecl>(D)) in getDeclType()
/external/clang/lib/Rewrite/
DRewriteObjC.cpp131 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/
DTargetAttributesSema.cpp135 ValueDecl *VD = dyn_cast<ValueDecl>(D); in HandleX86ForceAlignArgPointerAttr()
DSemaDeclAttr.cpp55 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()
DSemaExpr.cpp1117 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 …]
DSemaCodeComplete.cpp666 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()
DSemaTemplateInstantiate.cpp1104 ValueDecl *VD = cast<ValueDecl>(arg.getAsDecl()); in transformNonTypeTemplateParmRef()
1108 VD = cast_or_null<ValueDecl>( in transformNonTypeTemplateParmRef()
DAnalysisBasedWarnings.cpp208 ValueDecl *VD = DRE->getDecl(); in CheckFallThrough()
DSemaExprMember.cpp583 if (ND && (isa<ValueDecl>(ND) || isa<FunctionTemplateDecl>(ND))) { in LookupMemberExprInRecord()
773 const CXXScopeSpec &SS, ValueDecl *Member, in BuildMemberExpr()
/external/clang/lib/CodeGen/
DCGDebugInfo.h219 void EmitGlobalVariable(const ValueDecl *VD, llvm::Constant *Init);
230 llvm::DIType EmitTypeForVarWithBlocksAttr(const ValueDecl *VD,
DCodeGenModule.h61 class ValueDecl; variable
462 llvm::Constant *GetWeakRefReference(const ValueDecl *VD);
834 bool MayDeferGeneration(const ValueDecl *D);
DCodeGenModule.cpp686 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()
DCGDecl.cpp473 static bool isAccessedBy(const ValueDecl *decl, const Expr *e) { in isAccessedBy()
487 const ValueDecl *D, in EmitScalarInit()
1003 const ValueDecl *D, in EmitExprAsInit()
DCodeGenFunction.h1055 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,
DCGExprConstant.cpp857 ValueDecl *Decl = cast<DeclRefExpr>(E)->getDecl(); in EmitLValue()
1082 const ValueDecl *decl = cast<DeclRefExpr>(uo->getSubExpr())->getDecl(); in getMemberPointerConstant()
DCGObjC.cpp367 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/
DExpr.h38 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 …]
DDecl.h486 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()
DDeclCXX.h2416 class UnresolvedUsingValueDecl : public ValueDecl {
2431 : ValueDecl(UnresolvedUsingValue, DC,

12