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

References

tools/clang/lib/Sema/SemaDeclAttr.cpp
 3948   if (const auto *TD = dyn_cast<TypedefNameDecl>(D))
 3950   else if (const auto *ED = dyn_cast<EnumDecl>(D)) {
 3957     OldTy = cast<ValueDecl>(D)->getType();
 3960     D->addAttr(::new (Context) ModeAttr(Context, CI, Name));
 3973   if ((isa<EnumDecl>(D) || OldElemTy->getAs<EnumType>()) &&
 4035   if (auto *TD = dyn_cast<TypedefNameDecl>(D))
 4037   else if (auto *ED = dyn_cast<EnumDecl>(D))
 4040     cast<ValueDecl>(D)->setType(NewTy);
 4042   D->addAttr(::new (Context) ModeAttr(Context, CI, Name));