Home | History | Annotate | Download | only in Sema

Lines Matching full:decls

299   // If we're in C89 mode, check that we don't have any decls after stmts.  If
1215 // the evaluated decls into a vector. Simple is set to true if none
1218 llvm::SmallPtrSet<VarDecl*, 8> &Decls;
1224 DeclExtractor(Sema &S, llvm::SmallPtrSet<VarDecl*, 8> &Decls,
1227 Decls(Decls),
1288 Decls.insert(VD);
1293 // DeclMatcher checks to see if the decls are used in a non-evauluated
1296 llvm::SmallPtrSet<VarDecl*, 8> &Decls;
1302 DeclMatcher(Sema &S, llvm::SmallPtrSet<VarDecl*, 8> &Decls,
1304 Inherited(S.Context), Decls(Decls), FoundDecl(false) {
1355 if (Decls.count(VD))
1374 llvm::SmallPtrSet<VarDecl*, 8> Decls;
1376 DeclExtractor DE(S, Decls, Ranges);
1382 // No decls found.
1383 if (Decls.size() == 0) return;
1386 for (llvm::SmallPtrSet<VarDecl*, 8>::iterator I = Decls.begin(),
1387 E = Decls.end();
1392 if (DeclMatcher(S, Decls, Second).FoundDeclInUse() ||
1393 DeclMatcher(S, Decls, Third).FoundDeclInUse() ||
1394 DeclMatcher(S, Decls, Body).FoundDeclInUse())
1398 if (Decls.size() > 4)
1401 PDiag << Decls.size();
1402 for (llvm::SmallPtrSet<VarDecl*, 8>::iterator I = Decls.begin(),
1403 E = Decls.end();