/external/clang/include/clang/Analysis/Analyses/ |
PseudoConstantAnalysis.h | 28 bool isPseudoConstant(const VarDecl *VD); 29 bool wasReferenced(const VarDecl *VD);
|
LiveVariables.h | 36 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);
|
UninitializedValues.h | 27 class VarDecl; 88 virtual void handleUseOfUninitVariable(const VarDecl *vd, 94 virtual void handleSelfInit(const VarDecl *vd) {}
|
/external/clang/lib/CodeGen/ |
CGOpenCLRuntime.h | 25 class VarDecl; 44 const VarDecl &D);
|
/external/clang/lib/ARCMigrate/ |
TransBlockObjCVariable.cpp | 42 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 *> VarsToChange [all...] |
TransARCAssign.cpp | 37 llvm::DenseSet<VarDecl *> ModifiedVars; 50 if (declRef && isa<VarDecl>(declRef->getDecl())) { 55 VarDecl *var = cast<VarDecl>(declRef->getDecl());
|
/external/clang/lib/AST/ |
StmtIterator.cpp | 44 if (VarDecl* VD = dyn_cast<VarDecl>(decl)) 51 if (VarDecl* VD = dyn_cast<VarDecl>(*DGI)) 92 if (VarDecl* VD = dyn_cast<VarDecl>(D)) { 142 VarDecl* VD = cast<VarDecl>(*DGI); 148 if (VarDecl* VD = dyn_cast<VarDecl>(decl)) [all...] |
Decl.cpp | 491 if (const VarDecl *Var = dyn_cast<VarDecl>(D)) { 505 for (const VarDecl *PrevVar = Var->getPreviousDecl(); 515 const VarDecl *PrevVar = Var->getPreviousDecl(); 543 const VarDecl *Var = dyn_cast<VarDecl>(D); 601 if (const VarDecl *Var = dyn_cast<VarDecl>(D)) { 734 isa<VarDecl>(D) || [all...] |
/external/clang/lib/Analysis/ |
PseudoConstantAnalysis.cpp | 27 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; make sure it is a reference typ [all...] |
UninitializedValues.cpp | 35 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 *vd) [all...] |
LiveVariables.cpp | 102 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>(DR->getDecl())) [all...] |
/external/clang/include/clang/AST/ |
ASTConsumer.h | 28 class VarDecl; 99 virtual void CompleteTentativeDefinition(VarDecl *D) {} 103 virtual void HandleCXXStaticMemberVarInstantiation(VarDecl *D) {}
|
ASTMutationListener.h | 31 class VarDecl; 63 virtual void StaticDataMemberInstantiated(const VarDecl *D) {}
|
Mangle.h | 33 class VarDecl; 107 virtual void mangleReferenceTemporary(const VarDecl *D, 140 virtual void mangleItaniumGuardVariable(const VarDecl *D,
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
DeadStoresChecker.cpp | 38 llvm::DenseSet<const VarDecl *> &S; 57 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl())) 62 EHCodeVisitor(llvm::DenseSet<const VarDecl *> &S) : 126 llvm::SmallPtrSet<const VarDecl*, 20> Escaped; 129 OwningPtr<llvm::DenseSet<const VarDecl *> > InEH; 136 llvm::SmallPtrSet<const VarDecl*, 20> &escaped) 142 bool isLive(const LiveVariables::LivenessValues &Live, const VarDecl *D) { 148 InEH.reset(new llvm::DenseSet<const VarDecl *>()); 159 void Report(const VarDecl *V, DeadStoreKind dsk [all...] |
UndefinedAssignmentChecker.cpp | 71 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl());
|
/external/clang/include/clang/Frontend/ |
MultiplexConsumer.h | 37 virtual void HandleCXXStaticMemberVarInstantiation(VarDecl *VD); 44 virtual void CompleteTentativeDefinition(VarDecl *D);
|
/frameworks/compile/slang/ |
slang_rs_object_ref_count.h | 50 std::list<clang::VarDecl*> mRSO; // Declared RS objects in this scope 57 inline void addRSObject(clang::VarDecl* VD) { 64 void AppendRSObjectInit(clang::VarDecl *VD, 71 static clang::Stmt *ClearRSObject(clang::VarDecl *VD, 93 static bool InitializeRSObject(clang::VarDecl *VD,
|
slang_backend.h | 44 class VarDecl; 134 virtual void CompleteTentativeDefinition(clang::VarDecl *D);
|
slang_rs_check_ast.cpp | 78 void RSCheckAST::ValidateVarDecl(clang::VarDecl *VD) { 121 if (clang::VarDecl *VD = llvm::dyn_cast<clang::VarDecl>(*I)) { 158 if (clang::VarDecl *VD = llvm::dyn_cast<clang::VarDecl>(*DI)) {
|
/external/clang/unittests/AST/ |
SourceLocationTest.cpp | 32 LocationVerifier<VarDecl> Verifier; 34 EXPECT_FALSE(Verifier.match("int i", varDecl())); 38 LocationVerifier<VarDecl> Verifier; 46 EXPECT_FALSE(Verifier.match("int i;", varDecl())); 50 LocationVerifier<VarDecl> Verifier; 52 EXPECT_FALSE(Verifier.match("int i;", varDecl())); 56 RangeVerifier<VarDecl> Verifier; 58 EXPECT_FALSE(Verifier.match("int i;", varDecl())); 83 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C)); 89 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C)) [all...] |
/external/clang/include/clang/Sema/ |
ScopeInfo.h | 34 class VarDecl; 133 /// self.property | self (VarDecl) | property (ObjCPropertyDecl) 134 /// self.implicitProp | self (VarDecl) | -implicitProp (ObjCMethodDecl) 140 /// weakVar | 0 (known) | weakVar (VarDecl) 141 /// self->weakIvar | self (VarDecl) | weakIvar (ObjCIvarDecl) 341 llvm::PointerIntPair<VarDecl*, 2, CaptureKind> VarAndKind; 360 Capture(VarDecl *Var, bool block, bool byRef, bool isNested, 380 VarDecl *getVariable() const { 407 llvm::DenseMap<VarDecl*, unsigned> CaptureMap; 424 void addCapture(VarDecl *Var, bool isBlock, bool isByref, bool isNested [all...] |
ExternalSemaSource.h | 32 class VarDecl; 93 SmallVectorImpl<VarDecl *> &TentativeDefs) {}
|
/external/clang/lib/StaticAnalyzer/Core/ |
CheckerHelpers.cpp | 55 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
|
/external/clang/include/clang/Analysis/Visitors/ |
CFGRecStmtVisitor.h | 36 VarDecl *CondVar = 0;
|