• Home
  • Raw
  • Download

Lines Matching refs:Decls

1170     llvm::SmallPtrSet<VarDecl*, 8> &Decls;  member in __anon02a8bac50211::DeclExtractor
1176 DeclExtractor(Sema &S, llvm::SmallPtrSet<VarDecl*, 8> &Decls, in DeclExtractor() argument
1179 Decls(Decls), in DeclExtractor()
1240 Decls.insert(VD); in VisitDeclRefExpr()
1248 llvm::SmallPtrSet<VarDecl*, 8> &Decls; member in __anon02a8bac50211::DeclMatcher
1254 DeclMatcher(Sema &S, llvm::SmallPtrSet<VarDecl*, 8> &Decls, Stmt *Statement) : in DeclMatcher() argument
1255 Inherited(S.Context), Decls(Decls), FoundDecl(false) { in DeclMatcher()
1306 if (Decls.count(VD)) in VisitDeclRefExpr()
1325 llvm::SmallPtrSet<VarDecl*, 8> Decls; in CheckForLoopConditionalStatement() local
1327 DeclExtractor DE(S, Decls, Ranges); in CheckForLoopConditionalStatement()
1334 if (Decls.size() == 0) return; in CheckForLoopConditionalStatement()
1337 for (llvm::SmallPtrSet<VarDecl*, 8>::iterator I = Decls.begin(), in CheckForLoopConditionalStatement()
1338 E = Decls.end(); in CheckForLoopConditionalStatement()
1343 if (DeclMatcher(S, Decls, Second).FoundDeclInUse() || in CheckForLoopConditionalStatement()
1344 DeclMatcher(S, Decls, Third).FoundDeclInUse() || in CheckForLoopConditionalStatement()
1345 DeclMatcher(S, Decls, Body).FoundDeclInUse()) in CheckForLoopConditionalStatement()
1349 if (Decls.size() > 4) in CheckForLoopConditionalStatement()
1352 PDiag << Decls.size(); in CheckForLoopConditionalStatement()
1353 for (llvm::SmallPtrSet<VarDecl*, 8>::iterator I = Decls.begin(), in CheckForLoopConditionalStatement()
1354 E = Decls.end(); in CheckForLoopConditionalStatement()