Searched refs:ASTNode (Results 1 - 8 of 8) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/utils/TableGen/
H A DASTTableGen.cpp24 if (auto node = getAs<ASTNode>()) {
94 using ChildMap = std::multimap<ASTNode, ASTNode>;
96 static void visitASTNodeRecursive(ASTNode node, ASTNode base,
98 ASTNodeHierarchyVisitor<ASTNode> visit) {
109 ASTNodeHierarchyVisitor<ASTNode> visit) {
121 ASTNode root;
122 for (ASTNode node : nodes) {
135 visitASTNodeRecursive(root, ASTNode(), hierarch
[all...]
H A DClangASTNodesEmitter.cpp33 typedef std::multimap<ASTNode, ASTNode> ChildMap;
37 ASTNode Root;
61 std::string baseName(ASTNode node) {
70 std::pair<ASTNode, ASTNode> EmitNode(raw_ostream& OS, ASTNode Base);
87 std::pair<ASTNode, ASTNode> ClangASTNodesEmitter::EmitNode(raw_ostream &OS,
88 ASTNode Bas
[all...]
H A DASTTableGen.h21 #define ASTNodeClassName "ASTNode"
42 // Cases of various non-ASTNode structured types like DeclarationName.
157 class ASTNode : public HasProperties { class in namespace:clang::tblgen
159 ASTNode(llvm::Record *record = nullptr) : HasProperties(record) {} function in class:clang::tblgen::ASTNode
166 ASTNode getBase() const {
180 class DeclNode : public ASTNode {
182 DeclNode(llvm::Record *record = nullptr) : ASTNode(record) {}
186 DeclNode getBase() const { return DeclNode(ASTNode::getBase().getRecord()); }
202 class TypeNode : public ASTNode {
204 TypeNode(llvm::Record *record = nullptr) : ASTNode(recor
[all...]
H A DClangASTPropertiesEmitter.cpp214 if (ASTNode base = derivedNode.getAs<ASTNode>()) {
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Index/
H A DIndexDataConsumer.h44 SourceLocation Loc, ASTNodeInfo ASTNode) {
42 handleDeclOccurrence(const Decl *D, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, SourceLocation Loc, ASTNodeInfo ASTNode) argument
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Tooling/ASTDiff/
H A DASTDiff.h40 ast_type_traits::DynTypedNode ASTNode; member in struct:clang::diff::Node
/freebsd-12-stable/contrib/llvm-project/clang/include/clang-c/
H A DDocumentation.h37 const void *ASTNode; member in struct:__anon2626
/freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp196 template <class T> std::tuple<NodeId, NodeId> PreTraverse(T *ASTNode) { argument
202 N.ASTNode = DynTypedNode::create(*ASTNode);
203 assert(!N.ASTNode.getNodeKind().isNone() &&
413 const DynTypedNode &DTN = N.ASTNode;
687 return ASTNode.getNodeKind();
693 if (auto *ND = ASTNode.get<NamedDecl>()) {
701 if (auto *ND = ASTNode.get<NamedDecl>()) {
997 SourceRange Range = N.ASTNode.getSourceRange();
1001 if (auto *ThisExpr = N.ASTNode
[all...]

Completed in 205 milliseconds