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

Declarations

tools/clang/include/clang/Sema/Initialization.h
  430   ValueDecl *getDecl() const;

References

tools/clang/lib/Sema/SemaAccess.cpp
 1634     const FieldDecl *Field = cast<FieldDecl>(Entity.getDecl());
tools/clang/lib/Sema/SemaInit.cpp
  562             SemaRef.Diag(Entity.getDecl()->getLocation(),
  574         SemaRef.Diag(Entity.getDecl()->getLocation(),
  576           << /*field*/1 << Entity.getDecl();
 1974   } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) {
 3388   if (auto *D = getDecl()) {
 3759   VarDecl *VD = cast<VarDecl>(Entity.getDecl());
 5444   if (ParmVarDecl *param = cast_or_null<ParmVarDecl>(Entity.getDecl()))
 5565     return isa<DecompositionDecl>(Entity.getDecl());
 5890     if (ParmVarDecl *Param = cast_or_null<ParmVarDecl>(Entity.getDecl()))
 5944     if (Entity.getDecl() &&
 5945         isa<ObjCMethodDecl>(Entity.getDecl()->getDeclContext()))
 5951     if (Entity.getDecl() &&
 5952       isa<ObjCMethodDecl>(Entity.getDecl()->getDeclContext()))
 6058     return Entity.getDecl()->getLocation();
 6310   if (Entity.isParameterKind() && Entity.getDecl()) {
 6311     if (Entity.getDecl()->getLocation().isInvalid())
 6314     if (Entity.getDecl()->getDeclName())
 6315       S.Diag(Entity.getDecl()->getLocation(), diag::note_parameter_named_here)
 6316         << Entity.getDecl()->getDeclName();
 6318       S.Diag(Entity.getDecl()->getLocation(), diag::note_parameter_here);
 7382         MTE->setExtendingDecl(ExtendingEntity->getDecl(),
 7406             << ExtendingEntity->getDecl()->isImplicit()
 7407             << ExtendingEntity->getDecl() << Init->isGLValue() << DiagRange;
 7418                 ExtendingEntity ? ExtendingEntity->getDecl() : nullptr) {
 7471                 ExtendingEntity ? ExtendingEntity->getDecl() : nullptr) {
 7755     if (Decl *D = Entity.getDecl())
 7789           if (auto *DD = dyn_cast_or_null<DeclaratorDecl>(Entity.getDecl())) {
 7847         << SourceRange(Entity.getDecl()->getBeginLoc(), Args[0]->getEndLoc());
 7856     *ResultType = Entity.getDecl() ? Entity.getDecl()->getType() :
 7856     *ResultType = Entity.getDecl() ? Entity.getDecl()->getType() :
 8580       cast<FieldDecl>(Entity.getDecl())->isBitField())
 8582                                   cast<FieldDecl>(Entity.getDecl()),
 8675     if (auto *D = Entity.getDecl())
 9040             S.Diag(Entity.getDecl()->getLocation(),
 9105       S.Diag(Entity.getDecl()->getLocation(), diag::note_previous_decl)