Home
last modified time | relevance | path

Searched refs:LastASDecl (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantAccessSpecifiersCheck.cpp30 const AccessSpecDecl *LastASDecl = nullptr; in check() local
39 LastASDecl = ASDecl; in check()
43 if (LastASDecl == nullptr) { in check()
45 LastASDecl = ASDecl; in check()
61 if (LastASDecl->getAccess() == ASDecl->getAccess()) { in check()
63 if (LastASDecl->getLocation().isMacroID()) { in check()
64 LastASDecl = ASDecl; in check()
72 diag(LastASDecl->getLocation(), "previously declared here", in check()
75 LastASDecl = ASDecl; in check()