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

References

tools/clang/tools/extra/clang-tidy/modernize/UseOverrideCheck.cpp
   91   assert(Method != nullptr);
   92   if (Method->getInstantiatedFromMemberFunction() != nullptr)
   93     Method = Method->getInstantiatedFromMemberFunction();
   93     Method = Method->getInstantiatedFromMemberFunction();
   95   if (Method->isImplicit() || Method->getLocation().isMacroID() ||
   95   if (Method->isImplicit() || Method->getLocation().isMacroID() ||
   96       Method->isOutOfLine())
   99   bool HasVirtual = Method->isVirtualAsWritten();
  100   bool HasOverride = Method->getAttr<OverrideAttr>();
  101   bool HasFinal = Method->getAttr<FinalAttr>();
  126   auto Diag = diag(Method->getLocation(), Message)
  130       CharSourceRange::getTokenRange(Method->getSourceRange()), Sources,
  145     SourceLocation MethodLoc = Method->getLocation();
  155     if (Method->hasAttrs()) {
  156       for (const clang::Attr *A : Method->getAttrs()) {
  168     if (InsertLoc.isInvalid() && Method->doesThisDeclarationHaveABody() &&
  169         Method->getBody() && !Method->isDefaulted()) {
  169         Method->getBody() && !Method->isDefaulted()) {
  215     SourceLocation OverrideLoc = Method->getAttr<OverrideAttr>()->getLocation();