Lines Matching refs:NamespaceName
142 std::string computeEndCommentText(StringRef NamespaceName, bool AddNewline, in computeEndCommentText() argument
150 else if (!NamespaceName.empty()) in computeEndCommentText()
152 text += NamespaceName; in computeEndCommentText()
164 bool validEndComment(const FormatToken *RBraceTok, StringRef NamespaceName, in validEndComment() argument
194 if (NamespaceName.empty() && !NamespaceNameInComment.empty()) in validEndComment()
198 if (!NamespaceName.empty() && !AnonymousInComment.empty()) in validEndComment()
200 if (NamespaceNameInComment == NamespaceName) in validEndComment()
217 return NamespaceNameInComment == NamespaceName; in validEndComment()
324 std::string NamespaceName = computeName(NamespaceTok); in analyze() local
339 if (!NamespaceName.empty()) in analyze()
340 AllNamespaceNames = "::" + NamespaceName + AllNamespaceNames; in analyze()
343 NamespaceName += AllNamespaceNames; in analyze()
359 computeEndCommentText(NamespaceName, AddNewline, NamespaceTok, in analyze()
365 } else if (!validEndComment(EndCommentPrevTok, NamespaceName, in analyze()