Lines Matching refs:NamespaceName
45 std::string computeEndCommentText(StringRef NamespaceName, bool AddNewline) { in computeEndCommentText() argument
47 if (!NamespaceName.empty()) { in computeEndCommentText()
49 text += NamespaceName; in computeEndCommentText()
60 bool validEndComment(const FormatToken *RBraceTok, StringRef NamespaceName) { in validEndComment() argument
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()
198 } else if (!validEndComment(EndCommentPrevTok, NamespaceName)) { in analyze()