Lines Matching refs:Previous
349 // FIXME: In theory, we could have a previous declaration for variables that
353 LookupResult Previous(SemaRef, Var->getDeclName(), Var->getLocation(),
356 SemaRef.LookupQualifiedName(Previous, Owner, false);
357 SemaRef.CheckVariableDeclaration(Var, Previous, Redeclaration);
761 // Look for a previous declaration of the template in the owning
1164 LookupResult Previous(SemaRef, Function->getDeclName(), SourceLocation(),
1188 Previous.addDecl(cast<FunctionTemplateDecl>(Temp));
1193 Previous))
1200 // find a previous declaration. This is the innermost enclosing namespace,
1202 SemaRef.LookupQualifiedName(Previous, DC);
1204 // In C++, the previous declaration we find might be a tag type
1208 if (Previous.isSingleTagDecl())
1209 Previous.clear();
1212 SemaRef.CheckFunctionDeclaration(/*Scope*/ 0, Function, Previous,
1481 LookupResult Previous(SemaRef, NameInfo, Sema::LookupOrdinaryName,
1485 SemaRef.LookupQualifiedName(Previous, Record);
1487 // In C++, the previous declaration we find might be a tag type
1491 if (Previous.isSingleTagDecl())
1492 Previous.clear();
1496 SemaRef.CheckFunctionDeclaration(0, Method, Previous, false, Redeclaration);
1507 } else if (Method->isInvalidDecl() && !Previous.empty()) {