Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Format/
DNamespaceEndCommentsFixer.cpp68 std::string computeEndCommentText(StringRef NamespaceName, bool AddNewline, in computeEndCommentText() argument
74 else if (!NamespaceName.empty()) in computeEndCommentText()
76 text += NamespaceName; in computeEndCommentText()
88 bool validEndComment(const FormatToken *RBraceTok, StringRef NamespaceName, in validEndComment() argument
118 if (NamespaceName.empty() && !NamespaceNameInComment.empty()) in validEndComment()
122 if (!NamespaceName.empty() && !AnonymousInComment.empty()) in validEndComment()
124 if (NamespaceNameInComment == NamespaceName) in validEndComment()
142 return (NamespaceNameInComment == NamespaceName); in validEndComment()
247 std::string NamespaceName = computeName(NamespaceTok); in analyze() local
262 AllNamespaceNames = "::" + NamespaceName + AllNamespaceNames; in analyze()
[all …]
/external/llvm-project/clang-tools-extra/clangd/
DSourceCode.cpp664 NamespaceName, // just saw 'namespace' NSName in parseNamespaceEvents() enumerator
703 case NamespaceName: in parseNamespaceEvents()
705 State = NamespaceName; in parseNamespaceEvents()
724 case NamespaceName: in parseNamespaceEvents()
726 State = NamespaceName; in parseNamespaceEvents()
737 if (State == NamespaceName) { in parseNamespaceEvents()