Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Format/
H A DNamespaceEndCommentsFixer.cpp45 std::string computeEndCommentText(StringRef NamespaceName, bool AddNewline) { in computeEndCommentText() argument
47 if (!NamespaceName.empty()) { in computeEndCommentText()
49 text += NamespaceName; in computeEndCommentText()
74 if (NamespaceName.empty() && !NamespaceNameInComment.empty()) in validEndComment()
78 if (!NamespaceName.empty() && !AnonymousInComment.empty()) in validEndComment()
80 return NamespaceNameInComment == NamespaceName; in validEndComment()
162 std::string NamespaceName = computeName(NamespaceTok); in analyze() local
174 AllNamespaceNames = "::" + NamespaceName + AllNamespaceNames; in analyze()
177 NamespaceName += AllNamespaceNames; in analyze()
193 computeEndCommentText(NamespaceName, AddNewline); in analyze()
[all …]