Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Format/
H A DNamespaceEndCommentsFixer.cpp150 else if (!NamespaceName.empty()) in computeEndCommentText()
152 text += NamespaceName; in computeEndCommentText()
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()
343 NamespaceName += AllNamespaceNames; in analyze()
359 computeEndCommentText(NamespaceName, AddNewline, NamespaceTok, in analyze()
[all …]
/llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/
H A DUncheckedOptionalAccessModelTest.cpp1198 std::string NamespaceName; member
1213 ReplaceAllOccurrences(SourceCode, "$ns", GetParam().NamespaceName); in ExpectDiagnosticsFor()
1290 return Info.param.NamespaceName; in __anonc523bd4d0502()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSourceCode.cpp668 NamespaceName, // just saw 'namespace' NSName in parseNamespaceEvents() enumerator
707 case NamespaceName: in parseNamespaceEvents()
709 State = NamespaceName; in parseNamespaceEvents()
728 case NamespaceName: in parseNamespaceEvents()
730 State = NamespaceName; in parseNamespaceEvents()
741 if (State == NamespaceName) { in parseNamespaceEvents()