Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.cpp536 } else if (const auto *NsDecl = in run() local
538 moveOldNamespace(Result, NsDecl); in run()
652 getLexerStartingFromLoc(NsDecl->getBeginLoc(), SM, LangOpts); in getLocAfterNamespaceLBrace()
669 const NamespaceDecl *NsDecl) { in moveOldNamespace() argument
671 if (Decl::castToDeclContext(NsDecl)->decls_empty()) in moveOldNamespace()
677 getLocAfterNamespaceLBrace(NsDecl, SM, Result.Context->getLangOpts()); in moveOldNamespace()
683 MoveNs.Length = SM.getFileOffset(NsDecl->getRBraceLoc()) - MoveNs.Offset; in moveOldNamespace()
746 const auto *NsDecl = Result.Nodes.getNodeAs<NamespaceDecl>("ns_decl"); in moveClassForwardDeclaration() local
748 assert(!NsDecl->decls_empty()); in moveClassForwardDeclaration()
778 const auto *NsDecl = llvm::cast<NamespaceDecl>(NsDeclContext); in replaceQualifiedSymbolInDeclContext() local
[all …]
H A DChangeNamespace.h66 const NamespaceDecl *NsDecl);
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DForwardDeclarationNamespaceCheck.cpp108 const auto *NsDecl = cast<NamespaceDecl>(ParentDecl); in getNameOfNamespace() local
111 NsDecl->printQualifiedName(OStream); in getNameOfNamespace()