Home
last modified time | relevance | path

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

1234

/external/clang/lib/AST/
DAPValue.cpp71 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()
DASTDiagnostic.cpp459 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()
DExprConstant.cpp64 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 …]
DExprClassification.cpp470 if (ValueDecl *Value = dyn_cast<ValueDecl>(Member)) in ClassifyMemberExpr()
/external/clang/include/clang/Sema/
DExternalSemaSource.h31 class ValueDecl; variable
177 SmallVectorImpl<std::pair<ValueDecl *, in ReadPendingInstantiations() argument
DMultiplexExternalSemaSource.h32 class ValueDecl; variable
323 SmallVectorImpl<std::pair<ValueDecl*, SourceLocation> >& Pending);
/external/clang/include/clang/AST/
DAPValue.h31 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,
DTemplateBase.h35 class ValueDecl; variable
76 ValueDecl *D;
122 TemplateArgument(ValueDecl *D, bool ForRefParam) : Kind(Declaration) { in TemplateArgument()
233 ValueDecl *getAsDecl() const { in getAsDecl()
DExpr.h49 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 …]
DDecl.h462 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/
DRewriteObjC.cpp129 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 …]
DRewriteModernObjC.cpp139 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/
DTargetAttributesSema.cpp89 ValueDecl *VD = dyn_cast<ValueDecl>(D); in HandleX86ForceAlignArgPointerAttr()
DSemaDeclAttr.cpp66 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()
DMultiplexExternalSemaSource.cpp265 SmallVectorImpl<std::pair<ValueDecl*, in ReadPendingInstantiations() argument
/external/clang/lib/CodeGen/
DCodeGenModule.h66 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);
DCodeGenModule.cpp1029 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()
DCGCXXABI.cpp257 const ValueDecl *MPD = MP.getMemberPointerDecl(); in getMemberPointerPathAdjustment()
/external/clang/lib/ARCMigrate/
DTransforms.cpp226 ValueDecl *Dcl;
230 ReferenceCollector(ValueDecl *D, ExprSet &refs) in ReferenceCollector()
308 void trans::collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs) { in collectRefs()
DTransforms.h213 void collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs);
DTransProtectedScope.cpp34 if (ValueDecl *D = E->getDecl()) in VisitDeclRefExpr()
/external/clang/tools/libclang/
DCXType.cpp160 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/
Ddiag-template-diffing.cpp872 namespace ValueDecl { namespace
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1855 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/
DLibASTMatchersTutorial.rst511 address, all we need to do is make sure neither ``ValueDecl`` (base class of
516 static bool areSameVariable(const ValueDecl *First, const ValueDecl *Second) {

1234