Searched refs:VarDecl (Results 1 - 25 of 176) sorted by relevance

12345678

/external/clang/include/clang/Analysis/Analyses/
H A DPseudoConstantAnalysis.h28 bool isPseudoConstant(const VarDecl *VD);
29 bool wasReferenced(const VarDecl *VD);
H A DLiveVariables.h36 llvm::ImmutableSet<const VarDecl *> liveDecls;
44 llvm::ImmutableSet<const VarDecl *> LiveDecls)
50 bool isLive(const VarDecl *D) const;
80 bool isLive(const CFGBlock *B, const VarDecl *D);
86 bool isLive(const Stmt *S, const VarDecl *D);
H A DUninitializedValues.h27 class VarDecl;
88 virtual void handleUseOfUninitVariable(const VarDecl *vd,
94 virtual void handleSelfInit(const VarDecl *vd) {}
/external/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp42 llvm::DenseSet<VarDecl *> &VarsToChange;
45 VarDecl *Var;
49 BlockVarChecker(VarDecl *var) : Var(var) { }
75 RootBlockObjCVarRewriter(llvm::DenseSet<VarDecl *> &VarsToChange)
79 SmallVector<VarDecl *, 4> BlockVars;
83 VarDecl *var = I->getVariable();
92 VarDecl *var = BlockVars[i];
114 llvm::DenseSet<VarDecl *> &VarsToChange;
117 BlockObjCVarRewriter(llvm::DenseSet<VarDecl *> &VarsToChange)
130 llvm::DenseSet<VarDecl *> VarsToChang
[all...]
H A DTransARCAssign.cpp37 llvm::DenseSet<VarDecl *> ModifiedVars;
50 if (declRef && isa<VarDecl>(declRef->getDecl())) {
55 VarDecl *var = cast<VarDecl>(declRef->getDecl());
/external/clang/lib/CodeGen/
H A DCGOpenCLRuntime.h25 class VarDecl;
44 const VarDecl &D);
/external/clang/lib/Analysis/
H A DPseudoConstantAnalysis.cpp27 typedef llvm::SmallPtrSet<const VarDecl*, VARDECL_SET_SIZE> VarDeclSet;
41 bool PseudoConstantAnalysis::isPseudoConstant(const VarDecl *VD) {
57 bool PseudoConstantAnalysis::wasReferenced(const VarDecl *VD) {
124 const VarDecl *VD = dyn_cast<VarDecl>(LHSDecl);
158 const VarDecl *VD = dyn_cast<VarDecl>(D);
177 const VarDecl *VD = dyn_cast<VarDecl>(*I);
181 // We found a VarDecl; mak
[all...]
H A DUninitializedValues.cpp35 static bool isTrackedVar(const VarDecl *vd, const DeclContext *dc) {
51 llvm::DenseMap<const VarDecl *, unsigned> map;
62 Optional<unsigned> getValueIndex(const VarDecl *d) const;
68 DeclContext::specific_decl_iterator<VarDecl> I(dc.decls_begin()),
71 const VarDecl *vd = *I;
77 Optional<unsigned> DeclToIndex::getValueIndex(const VarDecl *d) const {
78 llvm::DenseMap<const VarDecl *, unsigned>::const_iterator I = map.find(d);
131 ValueVector::reference operator[](const VarDecl *vd);
134 const VarDecl *vd) {
195 ValueVector::reference CFGBlockValues::operator[](const VarDecl *v
[all...]
H A DLiveVariables.cpp102 llvm::ImmutableSet<const VarDecl *>::Factory DSetFact;
139 bool LiveVariables::LivenessValues::isLive(const VarDecl *D) const {
167 llvm::ImmutableSetRef<const VarDecl *>
189 static bool isAlwaysAlive(const VarDecl *D) {
193 bool LiveVariables::isLive(const CFGBlock *B, const VarDecl *D) {
197 bool LiveVariables::isLive(const Stmt *S, const VarDecl *D) {
307 if (const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl())) {
358 if (const VarDecl *VD = dyn_cast<VarDecl>(D
[all...]
/external/clang/lib/AST/
H A DStmtIterator.cpp44 if (VarDecl* VD = dyn_cast<VarDecl>(*DGI))
71 if (VarDecl* VD = dyn_cast<VarDecl>(D)) {
112 VarDecl* VD = cast<VarDecl>(*DGI);
H A DMangleNumberingContext.cpp41 MangleNumberingContext::getManglingNumber(const VarDecl *VD) {
/external/clang/include/clang/AST/
H A DMangleNumberingContext.h29 class VarDecl;
50 unsigned getManglingNumber(const VarDecl *VD);
H A DASTConsumer.h29 class VarDecl;
119 virtual void CompleteTentativeDefinition(VarDecl *D) {}
123 virtual void HandleCXXStaticMemberVarInstantiation(VarDecl *D) {}
H A DASTMutationListener.h32 class VarDecl;
75 virtual void StaticDataMemberInstantiated(const VarDecl *D) {}
H A DMangle.h33 class VarDecl;
107 virtual void mangleReferenceTemporary(const VarDecl *D,
143 virtual void mangleItaniumGuardVariable(const VarDecl *D,
148 virtual void mangleItaniumThreadLocalInit(const VarDecl *D,
152 virtual void mangleItaniumThreadLocalWrapper(const VarDecl *D,
H A DStmtCXX.h25 class VarDecl;
32 VarDecl *ExceptionDecl;
37 CXXCatchStmt(SourceLocation catchLoc, VarDecl *exDecl, Stmt *handlerBlock)
50 VarDecl *getExceptionDecl() const { return ExceptionDecl; }
143 VarDecl *getLoopVariable();
146 const VarDecl *getLoopVariable() const;
/external/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp37 llvm::DenseSet<const VarDecl *> &S;
56 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl()))
61 EHCodeVisitor(llvm::DenseSet<const VarDecl *> &S) :
130 llvm::SmallPtrSet<const VarDecl*, 20> Escaped;
133 OwningPtr<llvm::DenseSet<const VarDecl *> > InEH;
140 llvm::SmallPtrSet<const VarDecl*, 20> &escaped)
146 bool isLive(const LiveVariables::LivenessValues &Live, const VarDecl *D) {
152 InEH.reset(new llvm::DenseSet<const VarDecl *>());
163 void Report(const VarDecl *
138 DeadStoreObs(const CFG &cfg, ASTContext &ctx, BugReporter& br, AnalysisDeclContext* ac, ParentMap& parents, llvm::SmallPtrSet<const VarDecl*, 20> &escaped) argument
[all...]
H A DUndefinedAssignmentChecker.cpp79 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl());
H A DUndefCapturedBlockVarChecker.cpp38 const VarDecl *VD) {
72 const VarDecl *VD = VR->getDecl();
/external/clang/unittests/AST/
H A DASTTypeTraitsTest.cpp27 EXPECT_TRUE(DNT<Decl>().isBaseOf(DNT<VarDecl>()));
28 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>()));
29 EXPECT_FALSE(DNT<VarDecl>().isBaseOf(DNT<Decl>()));
/external/clang/lib/Sema/
H A DSemaOpenMP.cpp39 if (VarDecl *VD = dyn_cast_or_null<VarDecl>(ND)) {
58 VarDecl *VD;
80 VD = Corrected.getCorrectionDeclAs<VarDecl>();
82 if (!(VD = Lookup.getAsSingle<VarDecl>())) {
98 VarDecl::DeclarationOnly;
123 VarDecl::DeclarationOnly;
161 VarDecl *VD = cast<VarDecl>(DE->getDecl());
178 VarDecl
[all...]
/external/clang/include/clang/Frontend/
H A DMultiplexConsumer.h37 virtual void HandleCXXStaticMemberVarInstantiation(VarDecl *VD);
44 virtual void CompleteTentativeDefinition(VarDecl *D);
/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp55 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
/external/clang/include/clang/Sema/
H A DScopeInfo.h38 class VarDecl;
138 /// self.property | self (VarDecl) | property (ObjCPropertyDecl)
139 /// self.implicitProp | self (VarDecl) | -implicitProp (ObjCMethodDecl)
145 /// weakVar | 0 (known) | weakVar (VarDecl)
146 /// self->weakIvar | self (VarDecl) | weakIvar (ObjCIvarDecl)
355 typedef llvm::PointerIntPair<VarDecl*, 1, bool> VarAndNested;
376 Capture(VarDecl *Var, bool Block, bool ByRef, bool IsNested,
416 VarDecl *getVariable() const {
446 llvm::DenseMap<VarDecl*, unsigned> CaptureMap;
463 void addCapture(VarDecl *Va
[all...]
H A DExternalSemaSource.h32 class VarDecl;
93 SmallVectorImpl<VarDecl *> &TentativeDefs) {}

Completed in 345 milliseconds

12345678