Searched refs:ValueDecl (Results 1 - 25 of 81) sorted by relevance

1234

/external/clang/include/clang/Sema/
H A DExternalSemaSource.h33 class ValueDecl;
180 SmallVectorImpl<std::pair<ValueDecl *,
H A DMultiplexExternalSemaSource.h32 class ValueDecl;
330 SmallVectorImpl<std::pair<ValueDecl*, SourceLocation> >& Pending) override;
/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h294 typedef llvm::DenseMap<const ValueDecl *, unsigned> LVarIndexMap;
297 typedef std::pair<const ValueDecl *, til::SExpr *> NameVarPair;
351 til::SExpr *getCurrentLVarDefinition(const ValueDecl *VD);
354 const ValueDecl *VD = nullptr);
355 til::SExpr *lookupVarDecl(const ValueDecl *VD);
356 til::SExpr *addVarDecl(const ValueDecl *VD, til::SExpr *E);
357 til::SExpr *updateVarDecl(const ValueDecl *VD, til::SExpr *E);
H A DThreadSafetyTIL.h374 inline Variable(SExpr *D, const clang::ValueDecl *Cvd = nullptr);
381 const clang::ValueDecl *clangDecl() const { return Cvdecl; }
398 void setClangDecl(const clang::ValueDecl *VD) { Cvdecl = VD; }
420 const clang::ValueDecl *Cvdecl; // The clang declaration for this variable.
536 inline Variable::Variable(SExpr *D, const clang::ValueDecl *Cvd)
719 LiteralPtr(const clang::ValueDecl *D) : SExpr(COP_LiteralPtr), Cvdecl(D) {}
723 const clang::ValueDecl *clangDecl() const { return Cvdecl; }
735 const clang::ValueDecl *Cvdecl;
992 Project(SExpr *R, clang::ValueDecl *Cvd)
1002 const clang::ValueDecl *clangValueDec
[all...]
/external/clang/lib/AST/
H A DAPValue.cpp71 llvm::PointerIntPair<const ValueDecl*, 1, bool> MemberAndIsDerivedMember;
404 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>())
428 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) {
450 const ValueDecl *VD = cast<ValueDecl>(BaseOrMember);
530 if (const ValueDecl *VD = getMemberPointerDecl()) {
608 const ValueDecl *APValue::getMemberPointerDecl() const {
642 void APValue::MakeMemberPointer(const ValueDecl *Membe
[all...]
H A DASTDiagnostic.cpp450 /// Declaration difference, uses ValueDecl
489 ValueDecl *FromValueDecl, *ToValueDecl;
491 /// FromAddressOf, ToAddressOf - Whether the ValueDecl needs an address of
564 void SetNode(ValueDecl *FromValueDecl, ValueDecl *ToValueDecl,
661 void GetNode(ValueDecl *&FromValueDecl, ValueDecl *&ToValueDecl,
923 ValueDecl *FromValueDecl = nullptr, *ToValueDecl = nullptr;
1152 ValueDecl *GetValueDecl(const TSTiterator &Iter, Expr *ArgExpr) {
1242 return FromBase.get<const ValueDecl*>()
[all...]
H A DExprConstant.cpp64 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>())
514 EvaluatingDecl((const ValueDecl *)nullptr),
998 explicit MemberPtr(const ValueDecl *Decl) :
1003 const ValueDecl *getDecl() const {
1031 llvm::PointerIntPair<const ValueDecl*, 1, bool> DeclAndIsDerivedMember;
1184 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>()) {
1234 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>();
[all...]
H A DExprClassification.cpp469 if (ValueDecl *Value = dyn_cast<ValueDecl>(Member))
/external/clang/include/clang/AST/
H A DAPValue.h31 class ValueDecl;
56 typedef llvm::PointerUnion<const ValueDecl *, const Expr *> LValueBase;
157 APValue(const ValueDecl *Member, bool IsDerivedMember,
334 const ValueDecl *getMemberPointerDecl() const;
441 void MakeMemberPointer(const ValueDecl *Member, bool IsDerivedMember,
H A DTemplateBase.h35 class ValueDecl;
79 ValueDecl *D;
134 TemplateArgument(ValueDecl *D, bool ForRefParam) {
246 ValueDecl *getAsDecl() const {
H A DExpr.h49 class ValueDecl;
884 /// a NamedDecl (different from the referenced ValueDecl) which was found
894 ValueDecl *D;
936 ValueDecl *D, bool refersToEnclosingLocal,
951 DeclRefExpr(ValueDecl *D, bool refersToEnclosingLocal, QualType T,
966 SourceLocation TemplateKWLoc, ValueDecl *D, bool isEnclosingLocal,
973 SourceLocation TemplateKWLoc, ValueDecl *D, bool isEnclosingLocal,
985 ValueDecl *getDecl() { return D; }
986 const ValueDecl *getDecl() const { return D; }
987 void setDecl(ValueDecl *New
[all...]
H A DDecl.h467 /// ValueDecl - Represent the declaration of a variable (in which case it is
470 class ValueDecl : public NamedDecl { class in namespace:clang
475 ValueDecl(Kind DK, DeclContext *DC, SourceLocation L, function in class:clang::ValueDecl
525 /// \brief Represents a ValueDecl that came out of a declarator.
527 class DeclaratorDecl : public ValueDecl {
548 : ValueDecl(DK, DC, L, N, T), DeclInfo(TInfo), InnerLocStart(StartL) {
2283 class EnumConstantDecl : public ValueDecl, public Mergeable<EnumConstantDecl> {
2290 : ValueDecl(EnumConstant, DC, L, Id, T), Init((Stmt*)E), Val(V) {}
2323 class IndirectFieldDecl : public ValueDecl {
2331 : ValueDecl(IndirectFiel
[all...]
/external/lldb/include/lldb/Core/
H A DClangForward.h124 class ValueDecl;
/external/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp167 const ValueDecl *VD = cast<ValueDecl>(DRE->getDecl()->getCanonicalDecl());
288 const ValueDecl *VD = nullptr;
432 const ValueDecl *VD) {
447 til::SExpr *SExprBuilder::lookupVarDecl(const ValueDecl *VD) {
458 inline void maybeUpdateVD(til::SExpr *E, const ValueDecl *VD) {
468 til::SExpr *SExprBuilder::addVarDecl(const ValueDecl *VD, til::SExpr *E) {
478 til::SExpr *SExprBuilder::updateVarDecl(const ValueDecl *VD, til::SExpr *E) {
H A DReachableCode.cpp150 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP);
230 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP) {
H A DThreadSafety.cpp1186 ValueDecl *VDec = DRE->getDecl();
1456 static const ValueDecl *getValueDecl(const Expr *Exp) {
1506 static StringRef ClassifyDiagnostic(const ValueDecl *VD) {
1507 assert(VD && "No ValueDecl passed");
1509 // The ValueDecl is the declaration of a mutex or role (hopefully).
1517 if (const ValueDecl *VD = getValueDecl(A->getArg()))
1527 if (const ValueDecl *VD = getValueDecl(Arg))
1925 const ValueDecl *D = getValueDecl(Exp);
1958 const ValueDecl *D = getValueDecl(Exp);
/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp138 SmallVector<ValueDecl *, 8> BlockByCopyDecls;
139 llvm::SmallPtrSet<ValueDecl *, 8> BlockByCopyDeclsPtrSet;
140 SmallVector<ValueDecl *, 8> BlockByRefDecls;
141 llvm::SmallPtrSet<ValueDecl *, 8> BlockByRefDeclsPtrSet;
142 llvm::DenseMap<ValueDecl *, unsigned> BlockByRefDeclNo;
143 llvm::SmallPtrSet<ValueDecl *, 8> ImportedBlockDecls;
339 ValueDecl *VD, bool def=false);
348 void RewriteBlockPointerTypeVariable(std::string& Str, ValueDecl *VD);
1735 QualType ElementType = cast<ValueDecl>(D)->getType();
1751 ValueDecl *V
[all...]
H A 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;
285 ValueDecl *VD, bool def=false);
294 void RewriteBlockPointerTypeVariable(std::string& Str, ValueDecl *VD);
1496 QualType ElementType = cast<ValueDecl>(D)->getType();
1512 ValueDecl *V
[all...]
/external/clang/lib/ARCMigrate/
H A DTransforms.cpp232 ValueDecl *Dcl;
236 ReferenceCollector(ValueDecl *D, ExprSet &refs)
313 void trans::collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs) {
H A DTransProtectedScope.cpp34 if (ValueDecl *D = E->getDecl())
H A DTransforms.h215 void collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs);
/external/clang/lib/CodeGen/
H A DCodeGenModule.h67 class ValueDecl;
700 llvm::Constant *GetWeakRefReference(const ValueDecl *VD);
1009 void AddGlobalAnnotations(const ValueDecl *D, llvm::GlobalValue *GV);
1148 bool MayDeferGeneration(const ValueDecl *D);
H A DCGCXXABI.cpp284 const ValueDecl *MPD = MP.getMemberPointerDecl();
/external/clang/tools/libclang/
H A DCXType.cpp167 if (const ValueDecl *VD = dyn_cast<ValueDecl>(D))
865 if (const ValueDecl *VD = dyn_cast<ValueDecl>(D))
/external/clang/lib/Sema/
H A DSemaDeclAttr.cpp333 const ValueDecl *vd = cast<ValueDecl>(D);
590 QualType QT = cast<ValueDecl>(D)->getType();
1492 ValueDecl *VD = dyn_cast<ValueDecl>(D);
2819 if (ValueDecl *VD = dyn_cast<ValueDecl>(D))
2943 else if (ValueDecl *VD = dyn_cast<ValueDecl>(D))
2994 cast<ValueDecl>(
[all...]

Completed in 1326 milliseconds

1234