/external/clang/lib/AST/ |
D | APValue.cpp | 71 llvm::PointerIntPair<const ValueDecl*, 1, bool> MemberAndIsDerivedMember; 403 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) in printPretty() 422 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) { in printPretty() 443 const ValueDecl *VD = cast<ValueDecl>(BaseOrMember); in printPretty() 524 if (const ValueDecl *VD = getMemberPointerDecl()) { in printPretty() 602 const ValueDecl *APValue::getMemberPointerDecl() const { in getMemberPointerDecl() 633 void APValue::MakeMemberPointer(const ValueDecl *Member, bool IsDerivedMember, in MakeMemberPointer()
|
D | ASTDiagnostic.cpp | 459 ValueDecl *FromValueDecl, *ToValueDecl; 533 void SetNode(ValueDecl *FromValueDecl, ValueDecl *ToValueDecl, in SetNode() 630 void GetNode(ValueDecl *&FromValueDecl, ValueDecl *&ToValueDecl, in GetNode() 887 ValueDecl *FromValueDecl = 0, *ToValueDecl = 0; in DiffTemplate() 1106 ValueDecl *GetValueDecl(const TSTiterator &Iter, Expr *ArgExpr) { in GetValueDecl() 1196 return FromBase.get<const ValueDecl*>() == in IsEqualExpr() 1197 ToBase.get<const ValueDecl*>(); in IsEqualExpr() 1256 ValueDecl *FromValueDecl, *ToValueDecl; in TreeToString() 1507 void PrintValueDecl(ValueDecl *FromValueDecl, ValueDecl *ToValueDecl, in PrintValueDecl()
|
D | ExprConstant.cpp | 64 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>()) in getType() 459 EvaluatingDecl((const ValueDecl*)0), EvaluatingDeclValue(0), in EvalInfo() 869 explicit MemberPtr(const ValueDecl *Decl) : in MemberPtr() 874 const ValueDecl *getDecl() const { in getDecl() 902 llvm::PointerIntPair<const ValueDecl*, 1, bool> DeclAndIsDerivedMember; 1056 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>()) { in IsGlobalLValue() 1106 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in NoteLValueLocation() 1129 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in CheckLValueConstantExpression() 1145 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) { in CheckLValueConstantExpression() 1166 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in CheckLValueConstantExpression() [all …]
|
D | ExprClassification.cpp | 470 if (ValueDecl *Value = dyn_cast<ValueDecl>(Member)) in ClassifyMemberExpr()
|
/external/clang/include/clang/Sema/ |
D | ExternalSemaSource.h | 31 class ValueDecl; variable 177 SmallVectorImpl<std::pair<ValueDecl *, in ReadPendingInstantiations() argument
|
D | MultiplexExternalSemaSource.h | 32 class ValueDecl; variable 323 SmallVectorImpl<std::pair<ValueDecl*, SourceLocation> >& Pending);
|
/external/clang/include/clang/AST/ |
D | APValue.h | 31 class ValueDecl; variable 56 typedef llvm::PointerUnion<const ValueDecl *, const Expr *> LValueBase; 158 APValue(const ValueDecl *Member, bool IsDerivedMember, in APValue() 335 const ValueDecl *getMemberPointerDecl() const; 442 void MakeMemberPointer(const ValueDecl *Member, bool IsDerivedMember,
|
D | TemplateBase.h | 35 class ValueDecl; variable 76 ValueDecl *D; 122 TemplateArgument(ValueDecl *D, bool ForRefParam) : Kind(Declaration) { in TemplateArgument() 233 ValueDecl *getAsDecl() const { in getAsDecl()
|
D | Expr.h | 49 class ValueDecl; variable 870 ValueDecl *D; 912 ValueDecl *D, bool refersToEnclosingLocal, 927 DeclRefExpr(ValueDecl *D, bool refersToEnclosingLocal, QualType T, 943 ValueDecl *D, 953 ValueDecl *D, 967 ValueDecl *getDecl() { return D; } in getDecl() 968 const ValueDecl *getDecl() const { return D; } in getDecl() 969 void setDecl(ValueDecl *NewD) { D = NewD; } in setDecl() 2288 ValueDecl *MemberDecl; [all …]
|
D | Decl.h | 462 class ValueDecl : public NamedDecl { 467 ValueDecl(Kind DK, DeclContext *DC, SourceLocation L, in ValueDecl() function 518 class DeclaratorDecl : public ValueDecl { 539 : ValueDecl(DK, DC, L, N, T), DeclInfo(TInfo), InnerLocStart(StartL) { in DeclaratorDecl() 2203 class EnumConstantDecl : public ValueDecl { 2210 : ValueDecl(EnumConstant, DC, L, Id, T), Init((Stmt*)E), Val(V) {} in EnumConstantDecl() 2239 class IndirectFieldDecl : public ValueDecl { 2247 : ValueDecl(IndirectField, DC, L, N, T), Chaining(CH), ChainingSize(CHS) {} in IndirectFieldDecl()
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteObjC.cpp | 129 SmallVector<ValueDecl *, 8> BlockByCopyDecls; 130 llvm::SmallPtrSet<ValueDecl *, 8> BlockByCopyDeclsPtrSet; 131 SmallVector<ValueDecl *, 8> BlockByRefDecls; 132 llvm::SmallPtrSet<ValueDecl *, 8> BlockByRefDeclsPtrSet; 133 llvm::DenseMap<ValueDecl *, unsigned> BlockByRefDeclNo; 134 llvm::SmallPtrSet<ValueDecl *, 8> ImportedBlockDecls; 284 ValueDecl *VD, bool def=false); 293 void RewriteBlockPointerTypeVariable(std::string& Str, ValueDecl *VD); 1518 QualType ElementType = cast<ValueDecl>(D)->getType(); in RewriteObjCForCollectionStmt() 1534 ValueDecl *VD = cast<ValueDecl>(DR->getDecl()); in RewriteObjCForCollectionStmt() [all …]
|
D | RewriteModernObjC.cpp | 139 SmallVector<ValueDecl *, 8> BlockByCopyDecls; 140 llvm::SmallPtrSet<ValueDecl *, 8> BlockByCopyDeclsPtrSet; 141 SmallVector<ValueDecl *, 8> BlockByRefDecls; 142 llvm::SmallPtrSet<ValueDecl *, 8> BlockByRefDeclsPtrSet; 143 llvm::DenseMap<ValueDecl *, unsigned> BlockByRefDeclNo; 144 llvm::SmallPtrSet<ValueDecl *, 8> ImportedBlockDecls; 324 ValueDecl *VD, bool def=false); 333 void RewriteBlockPointerTypeVariable(std::string& Str, ValueDecl *VD); 1739 QualType ElementType = cast<ValueDecl>(D)->getType(); in RewriteObjCForCollectionStmt() 1755 ValueDecl *VD = cast<ValueDecl>(DR->getDecl()); in RewriteObjCForCollectionStmt() [all …]
|
/external/clang/lib/Sema/ |
D | TargetAttributesSema.cpp | 89 ValueDecl *VD = dyn_cast<ValueDecl>(D); in HandleX86ForceAlignArgPointerAttr()
|
D | SemaDeclAttr.cpp | 66 if (const ValueDecl *decl = dyn_cast<ValueDecl>(D)) in getFunctionType() 325 if (const ValueDecl *vd = dyn_cast<ValueDecl>(D)) { in threadSafetyCheckIsPointer() 697 ValueDecl *VD = dyn_cast<ValueDecl>(D); in checkAcquireOrderAttrCommon() 1718 ValueDecl *VD = dyn_cast<ValueDecl>(D); in handleAnalyzerNoReturnAttr() 3468 if (ValueDecl *VD = dyn_cast<ValueDecl>(D)) in CheckAlignasUnderalignment() 3571 else if (ValueDecl *VD = dyn_cast<ValueDecl>(D)) in handleModeAttr() 3675 cast<ValueDecl>(D)->setType(NewTy); in handleModeAttr() 4509 ValueDecl *vd = cast<ValueDecl>(D); in handleObjCPreciseLifetimeAttr()
|
D | MultiplexExternalSemaSource.cpp | 265 SmallVectorImpl<std::pair<ValueDecl*, in ReadPendingInstantiations() argument
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.h | 66 class ValueDecl; variable 634 llvm::Constant *GetWeakRefReference(const ValueDecl *VD); 972 void AddGlobalAnnotations(const ValueDecl *D, llvm::GlobalValue *GV); 1107 bool MayDeferGeneration(const ValueDecl *D);
|
D | CodeGenModule.cpp | 1029 void CodeGenModule::AddGlobalAnnotations(const ValueDecl *D, in AddGlobalAnnotations() 1039 bool CodeGenModule::MayDeferGeneration(const ValueDecl *Global) { in MayDeferGeneration() 1090 llvm::Constant *CodeGenModule::GetWeakRefReference(const ValueDecl *VD) { in GetWeakRefReference() 1120 const ValueDecl *Global = cast<ValueDecl>(GD.getDecl()); in EmitGlobal() 1289 const ValueDecl *D = cast<ValueDecl>(GD.getDecl()); in EmitGlobalDefinition() 1291 PrettyStackTraceDecl CrashInfo(const_cast<ValueDecl *>(D), D->getLocation(), in EmitGlobalDefinition() 1450 Ty = getTypes().ConvertType(cast<ValueDecl>(GD.getDecl())->getType()); in GetAddrOfFunction() 2107 const ValueDecl *D = cast<ValueDecl>(GD.getDecl()); in EmitAliasDefinition()
|
D | CGCXXABI.cpp | 257 const ValueDecl *MPD = MP.getMemberPointerDecl(); in getMemberPointerPathAdjustment()
|
/external/clang/lib/ARCMigrate/ |
D | Transforms.cpp | 226 ValueDecl *Dcl; 230 ReferenceCollector(ValueDecl *D, ExprSet &refs) in ReferenceCollector() 308 void trans::collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs) { in collectRefs()
|
D | Transforms.h | 213 void collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs);
|
D | TransProtectedScope.cpp | 34 if (ValueDecl *D = E->getDecl()) in VisitDeclRefExpr()
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 160 if (const ValueDecl *VD = dyn_cast<ValueDecl>(D)) in clang_getCursorType() 825 if (const ValueDecl *VD = dyn_cast<ValueDecl>(D)) in clang_getDeclObjCTypeEncoding()
|
/external/clang/test/Misc/ |
D | diag-template-diffing.cpp | 872 namespace ValueDecl { namespace
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 1855 hasType, AST_POLYMORPHIC_SUPPORTED_TYPES_2(Expr, ValueDecl), 1878 hasType, AST_POLYMORPHIC_SUPPORTED_TYPES_2(Expr, ValueDecl), 2805 internal::Matcher<ValueDecl>, InnerMatcher) { in AST_MATCHER_P() argument
|
/external/clang/docs/ |
D | LibASTMatchersTutorial.rst | 511 address, all we need to do is make sure neither ``ValueDecl`` (base class of 516 static bool areSameVariable(const ValueDecl *First, const ValueDecl *Second) {
|