| /llvm-project-15.0.7/clang-tools-extra/test/clang-include-fixer/Inputs/ |
| H A D | fake_yaml_db.yaml | 4 - ContextType: Namespace 6 - ContextType: Namespace 15 - ContextType: Namespace 17 - ContextType: Namespace 26 - ContextType: Namespace 28 - ContextType: Namespace 37 - ContextType: Namespace 39 - ContextType: Namespace 48 - ContextType: Namespace 50 - ContextType: Namespace [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | NamespaceAliaser.cpp | 31 StringRef Namespace, in createAlias() argument 37 if (AddedAliases[Function].count(Namespace.str()) != 0) in createAlias() 48 std::string(Namespace)))) in createAlias() 53 AddedAliases[Function][Namespace.str()] = ExistingAlias->getName().str(); in createAlias() 69 (llvm::Twine("\nnamespace ") + Abbreviation + " = " + Namespace + ";") in createAlias() 74 AddedAliases[Function][Namespace.str()] = Abbreviation; in createAlias() 83 StringRef Namespace) const { in getNamespaceName() 87 if (FunctionAliases->second.count(Namespace) != 0) { in getNamespaceName() 88 return FunctionAliases->second.find(Namespace)->getValue(); in getNamespaceName() 91 return Namespace.str(); in getNamespaceName()
|
| H A D | NamespaceAliaser.h | 33 llvm::StringRef Namespace, 39 llvm::StringRef Namespace) const;
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-include-fixer/ |
| H A D | IncludeFixerTest.cpp | 65 {{SymbolInfo::ContextType::Namespace, "b"}, in runIncludeFixer() 66 {SymbolInfo::ContextType::Namespace, "a"}}), in runIncludeFixer() 69 {{SymbolInfo::ContextType::Namespace, "b"}, in runIncludeFixer() 70 {SymbolInfo::ContextType::Namespace, "a"}}), in runIncludeFixer() 73 {{SymbolInfo::ContextType::Namespace, "c"}, in runIncludeFixer() 74 {SymbolInfo::ContextType::Namespace, "a"}}), in runIncludeFixer() 78 {SymbolInfo::ContextType::Namespace, "b"}, in runIncludeFixer() 79 {SymbolInfo::ContextType::Namespace, "a"}}), in runIncludeFixer() 82 {{SymbolInfo::ContextType::Namespace, "__a"}, in runIncludeFixer() 83 {SymbolInfo::ContextType::Namespace, "a"}}), in runIncludeFixer() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-doc/ |
| H A D | SerializeTest.cpp | 104 F.Namespace.emplace_back(EmptySID, "B", InfoType::IT_namespace); in TEST() 141 ExpectedE.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST() 171 Method.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST() 180 ExpectedF.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST() 224 ExpectedG.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST() 266 ExpectedE.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST() 279 ExpectedE.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST() 293 ExpectedE.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST() 306 ExpectedG.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST() 361 ExpectedF.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST() [all …]
|
| H A D | MergeTest.cpp | 19 One.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST() 34 Two.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST() 51 Expected->Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST() 81 One.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST() 103 Two.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST() 122 Expected->Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST() 156 One.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST() 177 Two.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST() 201 Expected->Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST() 231 One.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST() [all …]
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | ctor-init-source-loc.cpp | 80 namespace Namespace { namespace 92 struct Derived9: Namespace::Templ<MyBase>::InnerIterator 94 Derived9() : Namespace::Templ<MyBase>::InnerIterator() {} in Derived9() 101 struct Derived10: Namespace::Templ<MyBase> 103 Derived10() : Namespace::Templ<MyBase>() {} in Derived10() 110 struct Derived11: Namespace::Outer::Inner<MyBase>::Parm 112 Derived11() : Namespace::Outer::Inner<MyBase>::Parm() {} in Derived11()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/ |
| H A D | PreferRegisterOverUnsignedCheck.cpp | 44 if (const auto *Namespace = dyn_cast<NamespaceDecl>(Context)) in check() local 45 if (isa<TranslationUnitDecl>(Namespace->getDeclContext()) && in check() 46 Namespace->getName() == "llvm") in check() 49 const NamespaceDecl *Namespace = UsingDirective->getNominatedNamespace(); in check() local 50 if (isa<TranslationUnitDecl>(Namespace->getDeclContext()) && in check() 51 Namespace->getName() == "llvm") in check()
|
| /llvm-project-15.0.7/llvm/test/TableGen/Common/ |
| H A D | GlobalISelEmitterCommon.td | 6 let Namespace = "MyTarget"; 9 def R0 : Register<"r0"> { let Namespace = "MyTarget"; } 12 def F0 : Register<"f0"> { let Namespace = "MyTarget"; } 15 def B0 : Register<"b0"> { let Namespace = "MyTarget"; } 20 def V0 : Register<"v0"> { let Namespace = "MyTarget"; } 27 let Namespace = "MyTarget";
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/PDB/ |
| H A D | using-namespace.test | 5 # CHECK-NEXT: Namespace: __vc_attributes 37 Namespace: __vc_attributes 40 Namespace: helper_attributes 43 Namespace: atl 46 Namespace: std
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | InstrInfoEmitter.cpp | 97 StringRef Namespace, 104 raw_ostream &OS, StringRef Namespace, 107 raw_ostream &OS, StringRef Namespace, 248 StringRef Namespace, in initOperandMapData() argument 296 OS << "namespace " << Namespace << " {\n"; in emitOperandNameMappings() 312 OS << "namespace " << Namespace << " {\n"; in emitOperandNameMappings() 367 OS << "namespace " << Namespace << " {\n"; in emitOperandTypeMappings() 390 OS << "namespace " << Namespace << " {\n"; in emitOperandTypeMappings() 496 raw_ostream &OS, StringRef Namespace, in emitLogicalOperandSizeMappings() argument 583 raw_ostream &OS, StringRef Namespace, in emitLogicalOperandTypeMappings() argument [all …]
|
| H A D | RegisterInfoEmitter.cpp | 122 if (!Namespace.empty()) in runEnums() 132 if (!Namespace.empty()) in runEnums() 143 if (!Namespace.empty()) in runEnums() 150 if (!Namespace.empty()) in runEnums() 159 if (!Namespace.empty()) in runEnums() 166 if (!Namespace.empty()) in runEnums() 174 if (!Namespace.empty()) in runEnums() 181 if (!Namespace.empty()) in runEnums() 186 if (!Namespace.empty()) in runEnums() 195 if (!Namespace.empty()) in runEnums() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-doc/ |
| H A D | Serialize.cpp | 363 std::string Namespace; in populateParentNamespaces() local 368 Namespace = N->getNameAsString(); in populateParentNamespaces() 507 ParentI->USR = I->Namespace.empty() ? SymbolID() : I->Namespace[0].USR; in emitInfo() 510 if (I->Namespace.empty()) in emitInfo() 539 switch (I->Namespace[0].RefType) { in emitInfo() 542 ParentI->USR = I->Namespace[0].USR; in emitInfo() 550 ParentI->USR = I->Namespace[0].USR; in emitInfo() 574 if (!Func.Namespace.empty()) in emitInfo() 578 if (Func.Namespace.empty()) in emitInfo() 631 if (Enum.Namespace.empty()) { in emitInfo() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | PPCallbacks.h | 239 StringRef Namespace) { in PragmaDiagnosticPush() argument 245 StringRef Namespace) { in PragmaDiagnosticPop() argument 528 void PragmaMessage(SourceLocation Loc, StringRef Namespace, in PragmaMessage() argument 530 First->PragmaMessage(Loc, Namespace, Kind, Str); in PragmaMessage() 531 Second->PragmaMessage(Loc, Namespace, Kind, Str); in PragmaMessage() 535 First->PragmaDiagnosticPush(Loc, Namespace); in PragmaDiagnosticPush() 536 Second->PragmaDiagnosticPush(Loc, Namespace); in PragmaDiagnosticPush() 540 First->PragmaDiagnosticPop(Loc, Namespace); in PragmaDiagnosticPop() 541 Second->PragmaDiagnosticPop(Loc, Namespace); in PragmaDiagnosticPop() 546 First->PragmaDiagnostic(Loc, Namespace, mapping, Str); in PragmaDiagnostic() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-include-fixer/ |
| H A D | merge.test | 7 - ContextType: Namespace 17 - ContextType: Namespace 27 - ContextType: Namespace
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | QualTypeNames.cpp | 222 case NestedNameSpecifier::Namespace: in getFullyQualifiedNestedNameSpecifier() 344 const NamespaceDecl *Namespace, in createNestedNameSpecifier() argument 346 while (Namespace && Namespace->isInline()) { in createNestedNameSpecifier() 348 Namespace = dyn_cast<NamespaceDecl>(Namespace->getDeclContext()); in createNestedNameSpecifier() 350 if (!Namespace) return nullptr; in createNestedNameSpecifier() 355 createOuterNNS(Ctx, Namespace, FullyQualified, WithGlobalNsPrefix), in createNestedNameSpecifier() 356 Namespace); in createNestedNameSpecifier()
|
| /llvm-project-15.0.7/llvm/test/TableGen/ |
| H A D | FastISelEmitter.td | 10 def R0 : Register<"r0"> { let Namespace = "MyTarget"; } 11 def R1 : Register<"r0"> { let Namespace = "MyTarget"; } 19 let Namespace = "MyTarget";
|
| H A D | get-operand-type.td | 27 let Namespace = "MyNamespace"; 36 let Namespace = "MyNamespace"; 45 let Namespace = "MyNamespace";
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | PrintPreprocessedOutput.cpp | 153 void PragmaMessage(SourceLocation Loc, StringRef Namespace, 158 void PragmaDiagnostic(SourceLocation Loc, StringRef Namespace, 517 StringRef Namespace, in PragmaMessage() argument 522 if (!Namespace.empty()) in PragmaMessage() 523 OS << Namespace << ' '; in PragmaMessage() 554 PragmaDiagnosticPush(SourceLocation Loc, StringRef Namespace) { in PragmaDiagnosticPush() argument 556 OS << "#pragma " << Namespace << " diagnostic push"; in PragmaDiagnosticPush() 561 PragmaDiagnosticPop(SourceLocation Loc, StringRef Namespace) { in PragmaDiagnosticPop() argument 563 OS << "#pragma " << Namespace << " diagnostic pop"; in PragmaDiagnosticPop() 568 StringRef Namespace, in PragmaDiagnostic() argument [all …]
|
| /llvm-project-15.0.7/lld/test/COFF/Inputs/ |
| H A D | pdb-type-server-guid-collision-a.yaml | 35 Namespace: __vc_attributes 38 Namespace: helper_attributes 41 Namespace: atl 44 Namespace: std
|
| H A D | pdb-type-server-guid-collision-b.yaml | 35 Namespace: __vc_attributes 38 Namespace: helper_attributes 41 Namespace: atl 44 Namespace: std
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-include-fixer/Inputs/merge/ |
| H A D | a.yaml | 4 - ContextType: Namespace 14 - ContextType: Namespace
|
| H A D | b.yaml | 4 - ContextType: Namespace 14 - ContextType: Namespace
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BPFRegisterInfo.td | 13 let Namespace = "BPF" in { 19 let Namespace = "BPF"; 27 let Namespace = "BPF";
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/ |
| H A D | DXILStubs.td | 3 let Namespace = "DXIL" in { 9 let Namespace = "DXIL";
|