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

References

tools/clang/lib/Sema/SemaTemplate.cpp
 6244       DRE = dyn_cast<DeclRefExpr>(UnOp->getSubExpr());
 6245       if (DRE && !DRE->getQualifier())
 6245       if (DRE && !DRE->getQualifier())
 6246         DRE = nullptr;
 6250   else if ((DRE = dyn_cast<DeclRefExpr>(Arg))) {
 6251     ValueDecl *VD = DRE->getDecl();
 6264     DRE = nullptr;
 6267   ValueDecl *Entity = DRE ? DRE->getDecl() : nullptr;
 6267   ValueDecl *Entity = DRE ? DRE->getDecl() : nullptr;
 6298   if (!DRE)
 6303   if (isa<FieldDecl>(DRE->getDecl()) ||
 6304       isa<IndirectFieldDecl>(DRE->getDecl()) ||
 6305       isa<CXXMethodDecl>(DRE->getDecl())) {
 6306     assert((isa<FieldDecl>(DRE->getDecl()) ||
 6307             isa<IndirectFieldDecl>(DRE->getDecl()) ||
 6308             !cast<CXXMethodDecl>(DRE->getDecl())->isStatic()) &&
 6316       ValueDecl *D = cast<ValueDecl>(DRE->getDecl()->getCanonicalDecl());
 6325   S.Diag(DRE->getDecl()->getLocation(), diag::note_template_arg_refers_here);