Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/unittests/clang-change-namespace/
DChangeNamespaceTests.cpp40 OldNamespace, NewNamespace, FilePattern, in runChangeNamespaceOnCode()
68 std::string NewNamespace = "x::y"; member in clang::change_namespace::__anon9d85c0c30111::ChangeNamespaceTest
102 NewNamespace = "na::nb::nc"; in TEST_F()
119 NewNamespace = "na::nb::nc"; in TEST_F()
140 NewNamespace = "nx::ny"; in TEST_F()
160 NewNamespace = "na::nb::nc"; in TEST_F()
183 NewNamespace = "na::nc"; in TEST_F()
199 NewNamespace = "na::nc"; in TEST_F()
251 NewNamespace = "na::x::y"; in TEST_F()
987 NewNamespace = "na::nx"; in TEST_F()
[all …]
/external/llvm-project/clang-tools-extra/clang-change-namespace/tool/
DClangChangeNamespace.cpp54 cl::opt<std::string> NewNamespace("new_namespace", cl::Required, variable
114 OldNamespace, NewNamespace, FilePattern, *AllowedPatterns, in main()
/external/llvm-project/clang/unittests/Sema/
DExternalSemaSourceTest.cpp122 NamespaceDecl *NewNamespace = in CorrectTypo() local
125 DestContext->addDecl(NewNamespace); in CorrectTypo()
127 Correction.addCorrectionDecl(NewNamespace); in CorrectTypo()
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp123 NamespaceDecl *NewNamespace = in CorrectTypo() local
126 DestContext->addDecl(NewNamespace); in CorrectTypo()
128 Correction.addCorrectionDecl(NewNamespace); in CorrectTypo()
/external/llvm-project/clang-tools-extra/clang-change-namespace/
DChangeNamespace.h125 std::string NewNamespace; variable
DChangeNamespace.cpp344 OldNamespace(OldNs.ltrim(':')), NewNamespace(NewNs.ltrim(':')), in ChangeNamespaceTool()
348 auto NewNsSplitted = splitSymbolName(NewNamespace); in ChangeNamespaceTool()
785 const std::string NewNs = (NewNamespace + Postfix).str(); in replaceQualifiedSymbolInDeclContext()
863 ReplaceName, NewNamespace); in replaceQualifiedSymbolInDeclContext()
871 if (ReplaceName == FromDeclName && !NewNamespace.empty() && Conflict) in replaceQualifiedSymbolInDeclContext()