Home
last modified time | relevance | path

Searched refs:Namespace (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/llvm-project-15.0.7/clang-tools-extra/test/clang-include-fixer/Inputs/
H A Dfake_yaml_db.yaml4 - 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 DNamespaceAliaser.cpp31 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 DNamespaceAliaser.h33 llvm::StringRef Namespace,
39 llvm::StringRef Namespace) const;
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-include-fixer/
H A DIncludeFixerTest.cpp65 {{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 DSerializeTest.cpp104 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 DMergeTest.cpp19 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 Dctor-init-source-loc.cpp80 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 DPreferRegisterOverUnsignedCheck.cpp44 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 DGlobalISelEmitterCommon.td6 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 Dusing-namespace.test5 # 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 DInstrInfoEmitter.cpp97 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 DRegisterInfoEmitter.cpp122 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 DSerialize.cpp363 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 DPPCallbacks.h239 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 Dmerge.test7 - ContextType: Namespace
17 - ContextType: Namespace
27 - ContextType: Namespace
/llvm-project-15.0.7/clang/lib/AST/
H A DQualTypeNames.cpp222 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 DFastISelEmitter.td10 def R0 : Register<"r0"> { let Namespace = "MyTarget"; }
11 def R1 : Register<"r0"> { let Namespace = "MyTarget"; }
19 let Namespace = "MyTarget";
H A Dget-operand-type.td27 let Namespace = "MyNamespace";
36 let Namespace = "MyNamespace";
45 let Namespace = "MyNamespace";
/llvm-project-15.0.7/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp153 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 Dpdb-type-server-guid-collision-a.yaml35 Namespace: __vc_attributes
38 Namespace: helper_attributes
41 Namespace: atl
44 Namespace: std
H A Dpdb-type-server-guid-collision-b.yaml35 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 Da.yaml4 - ContextType: Namespace
14 - ContextType: Namespace
H A Db.yaml4 - ContextType: Namespace
14 - ContextType: Namespace
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBPFRegisterInfo.td13 let Namespace = "BPF" in {
19 let Namespace = "BPF";
27 let Namespace = "BPF";
/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDXILStubs.td3 let Namespace = "DXIL" in {
9 let Namespace = "DXIL";

12345678910>>...12