reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaTemplate.cpp
  336   Found.setTemplateNameLookup(true);
  368       Found.clear();
  389     LookupQualifiedName(Found, LookupCtx);
  399     IsDependent |= Found.wasNotFoundInCurrentInstantiation();
  402   if (!SS.isSet() && (ObjectType.isNull() || Found.empty())) {
  413       LookupName(Found, S);
  423     IsDependent |= Found.wasNotFoundInCurrentInstantiation();
  426   if (Found.isAmbiguous())
  440         std::all_of(Found.begin(), Found.end(), [](NamedDecl *ND) {
  440         std::all_of(Found.begin(), Found.end(), [](NamedDecl *ND) {
  443     if (AllFunctions || (Found.empty() && !IsDependent)) {
  447       *ATK = (Found.empty() && Found.getLookupName().isIdentifier())
  447       *ATK = (Found.empty() && Found.getLookupName().isIdentifier())
  450       Found.clear();
  455   if (Found.empty() && !IsDependent) {
  457     DeclarationName Name = Found.getLookupName();
  458     Found.clear();
  466             CorrectTypo(Found.getLookupNameInfo(), Found.getLookupKind(), S,
  466             CorrectTypo(Found.getLookupNameInfo(), Found.getLookupKind(), S,
  469         Found.addDecl(ND);
  470       FilterAcceptableTemplateNames(Found);
  471       if (Found.isAmbiguous()) {
  472         Found.clear();
  473       } else if (!Found.empty()) {
  474         Found.setLookupName(Corrected.getCorrection());
  490       Found.empty() ? nullptr : Found.getRepresentativeDecl();
  490       Found.empty() ? nullptr : Found.getRepresentativeDecl();
  491   FilterAcceptableTemplateNames(Found, AllowFunctionTemplatesInLookup);
  492   if (Found.empty()) {
  501       Diag(Found.getNameLoc(), diag::err_template_kw_refers_to_non_template)
  502         << Found.getLookupName() << SS.getRange();
  505           << Found.getLookupName();
  520     LookupResult FoundOuter(*this, Found.getLookupName(), Found.getNameLoc(),
  520     LookupResult FoundOuter(*this, Found.getLookupName(), Found.getNameLoc(),
  539     } else if (!Found.isSuppressingDiagnostics()) {
  543       if (!Found.isSingleResult() ||
  544           getAsTemplateNameDecl(Found.getFoundDecl())->getCanonicalDecl() !=
  546         Diag(Found.getNameLoc(),
  548           << Found.getLookupName()
  550         Diag(Found.getRepresentativeDecl()->getLocation(),