Home
last modified time | relevance | path

Searched refs:Child (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/llvm-project-15.0.7/clang-tools-extra/clangd/index/dex/
H A DIterator.cpp162 if (!Child->reachedEnd() && Child->peek() == SmallestID) in advance()
163 Child->advance(); in advance()
171 Child->advanceTo(ID); in advanceTo()
194 if (!Child->reachedEnd() && Child->peek() == ID) in consume()
291 : Child(std::move(Child)), Factor(Factor) {} in BoostIterator()
321 : Child(std::move(Child)), Limit(Limit), ItemsLeft(Limit) {} in LimitIterator()
338 return Child->consume(); in consume()
368 switch (Child->kind()) { in intersect()
435 return Child; in boost()
437 return Child; in boost()
[all …]
/llvm-project-15.0.7/llvm/lib/WindowsManifest/
H A DWindowsManifestMerger.cpp88 for (xmlNodePtr Child = Parent->children; Child; Child = Child->next) { in getChildWithName() local
90 return Child; in getChildWithName()
324 for (xmlNodePtr Child = Node->children; Child; Child = Child->next) { in explicateNamespace() local
498 for (xmlNodePtr Child = Node->children; Child; Child = Child->next) { in reconcileNamespaces() local
516 for (xmlNodePtr Child = AdditionalFirstChild; Child; Child = Child->next) { in treeMerge() local
523 xmlUnlinkNode(Child); in treeMerge()
531 Child = &StoreNext; in treeMerge()
541 for (xmlNodePtr Child = Root->children; Child; Child = Child->next) { in stripComments() local
548 Child = &StoreNext; in stripComments()
564 for (xmlNodePtr Child = Node->children; Child; Child = Child->next) { in setAttributeNamespaces() local
[all …]
/llvm-project-15.0.7/llvm/unittests/Object/
H A DArchiveTest.cpp46 auto Child = A->child_begin(ChildErr); in createChild() local
49 return Child; in createChild()
61 auto Child = createChild(ArchiveWithMember); in TEST_F() local
62 ASSERT_THAT_EXPECTED(Child, Succeeded()); in TEST_F()
64 Expected<uint64_t> Size = (*Child)->getSize(); in TEST_F()
70 auto Child = createChild(ThinArchiveWithMember); in TEST_F() local
71 ASSERT_THAT_EXPECTED(Child, Succeeded()); in TEST_F()
73 Expected<uint64_t> Size = (*Child)->getSize(); in TEST_F()
84 auto Child = createChild(ArchiveWithMember); in TEST_F() local
85 ASSERT_THAT_EXPECTED(Child, Succeeded()); in TEST_F()
[all …]
/llvm-project-15.0.7/compiler-rt/test/profile/Linux/
H A Dinstrprof-file_ex.test7 CHECK: Dump from Child 0
8 CHECK-NEXT: Dump from Child 1
9 CHECK-NEXT: Dump from Child 2
10 CHECK-NEXT: Dump from Child 3
11 CHECK-NEXT: Dump from Child 4
12 CHECK-NEXT: Dump from Child 5
13 CHECK-NEXT: Dump from Child 6
14 CHECK-NEXT: Dump from Child 7
15 CHECK-NEXT: Dump from Child 8
16 CHECK-NEXT: Dump from Child 9
/llvm-project-15.0.7/libcxxabi/test/
H A Dinherited_exception.pass.cpp44 struct Child : public Base, public Base2 { struct
49 Child child; in f1() argument
57 Child child; in f2()
65 static Child child; in f3()
79 catch (const Child& c) in main()
101 catch (const Child& b) in main()
119 catch (const Child& b) in main()
133 catch (const Child& c) in main()
159 catch (const Child* b) in main()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DTree.cpp56 Child->setRole(Role); in appendChildLowLevel()
57 appendChildLowLevel(Child); in appendChildLowLevel()
61 assert(Child->Parent == nullptr); in appendChildLowLevel()
66 Child->Parent = this; in appendChildLowLevel()
71 this->FirstChild = Child; in appendChildLowLevel()
73 this->LastChild = Child; in appendChildLowLevel()
80 Child->setRole(Role); in prependChildLowLevel()
81 prependChildLowLevel(Child); in prependChildLowLevel()
90 Child->Parent = this; in prependChildLowLevel()
95 this->LastChild = Child; in prependChildLowLevel()
[all …]
H A DSynthesis.cpp22 static void prependChildLowLevel(syntax::Tree *T, syntax::Node *Child, in prependChildLowLevel() argument
24 T->prependChildLowLevel(Child, R); in prependChildLowLevel()
26 static void appendChildLowLevel(syntax::Tree *T, syntax::Node *Child, in appendChildLowLevel() argument
28 T->appendChildLowLevel(Child, R); in appendChildLowLevel()
210 for (const auto &Child : Children) in createTree() local
211 FactoryImpl::appendChildLowLevel(T, Child.first, Child.second); in createTree()
228 for (const auto *Child = T->getFirstChild(); Child; in deepCopyExpandingMacros() local
229 Child = Child->getNextSibling()) in deepCopyExpandingMacros()
230 Children.push_back({deepCopyExpandingMacros(A, TBTM, Child), Child->getRole()}); in deepCopyExpandingMacros()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp30 for (const Stmt *Child : S->children()) in containsMacro() local
31 if (Child && containsMacro(Child)) in containsMacro()
44 for (const Stmt *Child : S->children()) in containsEnum() local
45 if (Child && containsEnum(Child)) in containsEnum()
60 for (const Stmt *Child : S->children()) in containsStaticLocal() local
61 if (Child && containsStaticLocal(Child)) in containsStaticLocal()
72 for (const Stmt *Child : S->children()) in containsBuiltinOffsetOf() local
73 if (Child && containsBuiltinOffsetOf(Child)) in containsBuiltinOffsetOf()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DArchive.h163 class Child {
180 Child(const Child &C) in Child() function
186 Child(Child &&C) { in Child() function
193 Child &operator=(Child &&C) noexcept {
205 Child &operator=(const Child &C) {
218 bool operator==(const Child &other) const {
224 Expected<Child> getNext() const;
261 Child C;
268 const Child &operator*() const { return C; }
306 Expected<Child> getMember() const;
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A DArchiveYAML.h25 struct Child { struct
35 Child() { in Child() function
52 Optional<std::vector<Child>> Members;
59 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ArchYAML::Archive::Child) in LLVM_YAML_IS_SEQUENCE_VECTOR() argument
69 template <> struct MappingTraits<ArchYAML::Archive::Child> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
70 static void mapping(IO &IO, ArchYAML::Archive::Child &C); in LLVM_YAML_IS_SEQUENCE_VECTOR()
71 static std::string validate(IO &, ArchYAML::Archive::Child &C); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dinline.cpp68 class Child : public Parent { class
77 Child x; in testVirtual()
100 class Child : public Parent { class
108 Child() : m_child(0) {} in Child() function in PR13569::Child
114 Child x; in testVirtual()
122 class Grandchild : public Child {};
148 class Child : virtual public Parent { class
156 Child() : m_child(0) {} in Child() function in PR13569_virtual::Child
162 Child x; in testVirtual()
422 struct Child : public Parent { struct
[all …]
H A Dclass-object-state-dump.m18 @interface Child : Parent interface
23 @implementation Child implementation
31 …// CHECK-NEXT: { "symbol": "conj_$[[#]]{Class, LC[[#]], S[[#]], #[[#]]}", "dyn_type": "Child", "…
32 …// CHECK-NEXT: { "symbol": "conj_$[[#]]{Class, LC[[#]], S[[#]], #[[#]]}", "dyn_type": "Child", "…
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.join.view/
H A Dctad.compile.pass.cpp18 struct Child { struct
24 Child *begin() const;
25 Child *end() const;
29 Child *begin() const;
30 Child *end() const;
34 Child *begin() const;
35 Child *end() const;
/llvm-project-15.0.7/clang/include/clang/AST/
H A DLexicallyOrderedRecursiveASTVisitor.h84 Decl *Child = *I; in TraverseDeclContextHelper() local
85 if (BaseType::canIgnoreChildDeclWhileTraversingDeclContext(Child)) { in TraverseDeclContextHelper()
89 if (!isa<ObjCImplementationDecl>(Child) && in TraverseDeclContextHelper()
90 !isa<ObjCCategoryImplDecl>(Child)) { in TraverseDeclContextHelper()
91 if (!BaseType::getDerived().TraverseDecl(Child)) in TraverseDeclContextHelper()
102 Child->getEndLoc())) in TraverseDeclContextHelper()
107 if (!BaseType::getDerived().TraverseDecl(Child)) in TraverseDeclContextHelper()
/llvm-project-15.0.7/llvm/lib/Object/
H A DWindowsResource.cpp398 TreeNode *Child; in addChildren() local
428 TreeNode *Child; in addChildren() local
523 auto Child = IDChildren.find(ID); in addIDChild() local
524 if (Child == IDChildren.end()) { in addIDChild()
530 return *(Child->second); in addIDChild()
539 if (Child == StringChildren.end()) { in addNameChild()
546 return *(Child->second); in addNameChild()
553 Child.second->print(Writer, Child.first); in print()
556 Child.second->print(Writer, to_string(Child.first)); in print()
592 for (auto &Child : IDChildren) in shiftDataIndexDown() local
[all …]
/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DInlineInfo.cpp34 for (const auto &Child : II.Children) in operator <<() local
35 OS << Child; in operator <<()
47 for (const auto &Child : II.Children) { in getInlineStackHelper() local
48 if (::getInlineStackHelper(Child, Addr, InlineStack)) in getInlineStackHelper()
211 if (!Child) in decode()
212 return Child.takeError(); in decode()
214 if (Child.get().Ranges.empty()) in decode()
216 Inline.Children.emplace_back(std::move(*Child)); in decode()
246 for (const auto &Child : Children) { in encode() local
249 for (const auto &ChildRange: Child.Ranges) { in encode()
[all …]
/llvm-project-15.0.7/clang/test/Frontend/
H A Dnoderef.cpp96 class Child : public A {}; class
106 int ChildCall(NODEREF Child *child) { // expected-note{{child declared here}} in ChildCall()
155 NODEREF Child *child; in conversion_sequences()
156 …Child *child2 = dynamic_cast<Child *>(child); // expected-warning{{casting to dereferenceable poin… in conversion_sequences()
163 A *dynamic_cast_up(NODEREF Child *child) { in dynamic_cast_up()
167 Child *dynamic_cast_down(NODEREF A *a) { in dynamic_cast_down()
168 …return dynamic_cast<Child *>(a); // expected-warning{{casting to dereferenceable pointer removes '… in dynamic_cast_down()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/
H A DUDTLayout.cpp179 while (auto Child = Children->getNext()) { in initializeChildren() local
180 if (auto Base = unique_dyn_cast<PDBSymbolTypeBaseClass>(Child)) { in initializeChildren()
186 else if (auto Data = unique_dyn_cast<PDBSymbolData>(Child)) { in initializeChildren()
193 else if (auto Func = unique_dyn_cast<PDBSymbolFunc>(Child)) in initializeChildren()
196 Other.push_back(std::move(Child)); in initializeChildren()
281 uint32_t Begin = Child->getOffsetInParent(); in addChildToLayout()
283 if (!Child->isElided()) { in addChildToLayout()
284 BitVector ChildBytes = Child->usedBytes(); in addChildToLayout()
291 ChildBytes <<= Child->getOffsetInParent(); in addChildToLayout()
300 LayoutItems.insert(Loc, Child.get()); in addChildToLayout()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/support/
H A DMemoryTreeTests.cpp92 auto &Child = Detail.child("child"); in TEST() local
93 Child.addUsage(1); in TEST()
94 Child.child("leaf").addUsage(1); in TEST()
98 auto &Child = Root.child("child"); in TEST() local
99 Child.addUsage(1); in TEST()
100 Child.child("leaf").addUsage(1); in TEST()
/llvm-project-15.0.7/llvm/test/tools/dsymutil/X86/
H A Dsubmodules.m4 module Child {
5 header "Child.h"
12 clang -D CHILD_H -E -o Child.h submodules.m
32 // CHECK-NEXT: DW_AT_name{{.*}}"Child"
49 @import Parent.Child;
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DGenericCycleImpl.h167 assert((!Child->ParentCycle && !NewParent->ParentCycle) && in moveTopLevelCycleToNewParent()
170 Child->ParentCycle ? Child->ParentCycle->Children : TopLevelCycles; in moveTopLevelCycleToNewParent()
172 return Child == Ptr.get(); in moveTopLevelCycleToNewParent()
178 Child->ParentCycle = NewParent; in moveTopLevelCycleToNewParent()
180 NewParent->Blocks.insert(NewParent->Blocks.end(), Child->block_begin(), in moveTopLevelCycleToNewParent()
181 Child->block_end()); in moveTopLevelCycleToNewParent()
184 if (It.second == Child) in moveTopLevelCycleToNewParent()
435 for (const CycleT *Child : Cycle->children()) { in validateTree() local
436 check(Child->Depth > Cycle->Depth); in validateTree()
438 ChildDepth = Child->Depth; in validateTree()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-dwarfdump/
H A DStatistics.cpp469 DWARFDie Child = Die.getFirstChild(); in collectAbstractOriginFnInfo() local
470 while (Child) { in collectAbstractOriginFnInfo()
471 const dwarf::Tag ChildTag = Child.getTag(); in collectAbstractOriginFnInfo()
479 Child = Child.getSibling(); in collectAbstractOriginFnInfo()
611 DWARFDie Child = Die.getFirstChild(); in collectStatsRecursive() local
612 while (Child) { in collectStatsRecursive()
624 Child = Child.getSibling(); in collectStatsRecursive()
737 while (Child) { in updateVarsWithAbstractOriginLocCovInfo()
738 const dwarf::Tag ChildTag = Child.getTag(); in updateVarsWithAbstractOriginLocCovInfo()
741 (Child.find(dwarf::DW_AT_location) || in updateVarsWithAbstractOriginLocCovInfo()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFixIrreducible.cpp133 for (Loop *Child : ChildLoops) { in INITIALIZE_PASS_DEPENDENCY()
134 LLVM_DEBUG(dbgs() << "child loop: " << Child->getHeader()->getName() in INITIALIZE_PASS_DEPENDENCY()
139 if (Headers.count(Child->getHeader())) { in INITIALIZE_PASS_DEPENDENCY()
140 for (auto BB : Child->blocks()) { in INITIALIZE_PASS_DEPENDENCY()
141 if (LI.getLoopFor(BB) != Child) in INITIALIZE_PASS_DEPENDENCY()
148 std::swap(GrandChildLoops, Child->getSubLoopsVector()); in INITIALIZE_PASS_DEPENDENCY()
153 LI.destroy(Child); in INITIALIZE_PASS_DEPENDENCY()
158 Child->setParentLoop(nullptr); in INITIALIZE_PASS_DEPENDENCY()
159 NewLoop->addChildLoop(Child); in INITIALIZE_PASS_DEPENDENCY()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Windows/
H A Dwrong_downcast_on_stack.cpp9 class Child : public Parent { class
16 Child *c = (Child*)&p; // Intentional error here! in main()
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dpush-hidden-visibility-subclass.cpp10 class Child : public Base { class
12 Child() = default;
17 Child x; in test()

12345678910>>...13