Home
last modified time | relevance | path

Searched refs:CurrentNode (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Support/
H A DYAMLTraits.cpp103 CurrentNode = TopNode.get(); in setCurrentDocument()
114 return CurrentNode ? CurrentNode->_node : nullptr; in getCurrentNode()
120 if (!CurrentNode) in mapTag()
162 if (!CurrentNode) { in preflightKey()
185 SaveInfo = CurrentNode; in preflightKey()
186 CurrentNode = Value; in preflightKey()
220 if (isa<EmptyHNode>(CurrentNode)) in beginSequence()
239 SaveInfo = CurrentNode; in preflightElement()
256 SaveInfo = CurrentNode; in preflightFlowElement()
366 if (isa<ScalarHNode>(CurrentNode)) in getNodeKind()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DASTDiagnostic.cpp629 unsigned CurrentNode; member in __anon9cc2dc2e0111::TemplateDiff::DiffTree
648 FlatTree[CurrentNode].Kind = Template; in SetTemplateDiff()
659 FlatTree[CurrentNode].Kind = Type; in SetTypeDiff()
668 FlatTree[CurrentNode].Kind = Expression; in SetExpressionDiff()
689 FlatTree[CurrentNode].Kind = Integer; in SetIntegerDiff()
761 FlatTree[CurrentNode].Same = Same; in SetSame()
766 FlatTree[CurrentNode].Kind = Kind; in SetKind()
773 CurrentNode = FlatTree[CurrentNode].ParentNode; in Up()
782 DiffNode &Node = FlatTree[CurrentNode]; in AddNode()
795 CurrentNode = NextFreeNode; in AddNode()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSelection.cpp1080 for (const Node *CurrentNode = this; CurrentNode != nullptr; in getDeclContext() local
1081 CurrentNode = CurrentNode->Parent) { in getDeclContext()
1082 if (const Decl *Current = CurrentNode->ASTNode.get<Decl>()) { in getDeclContext()
1083 if (CurrentNode != this) in getDeclContext()
/llvm-project-15.0.7/llvm/lib/Object/
H A DWindowsResource.cpp882 auto CurrentNode = Queue.front(); in writeDirectoryTree() local
886 Table->Characteristics = CurrentNode->getCharacteristics(); in writeDirectoryTree()
888 Table->MajorVersion = CurrentNode->getMajorVersion(); in writeDirectoryTree()
889 Table->MinorVersion = CurrentNode->getMinorVersion(); in writeDirectoryTree()
890 auto &IDChildren = CurrentNode->getIDChildren(); in writeDirectoryTree()
891 auto &StringChildren = CurrentNode->getStringChildren(); in writeDirectoryTree()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp119 const ExplodedNode *CurrentNode; member in __anon1dcbea900111::PathDiagnosticConstruct
144 assert(CurrentNode && "Already reached the root!"); in getCurrLocationContext()
145 return CurrentNode->getLocationContext(); in getCurrLocationContext()
155 const ExplodedNode *getCurrentNode() const { return CurrentNode; } in getCurrentNode()
160 CurrentNode = CurrentNode->getFirstPred(); in ascendToPrevNode()
161 return static_cast<bool>(CurrentNode); in ascendToPrevNode()
1979 : Consumer(PDC), CurrentNode(ErrorNode), in PathDiagnosticConstruct()
1980 SM(CurrentNode->getCodeDecl().getASTContext().getSourceManager()), in PathDiagnosticConstruct()