Home
last modified time | relevance | path

Searched refs:ASTNode (Results 1 – 15 of 15) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/
H A DASTTableGen.cpp24 if (auto node = getAs<ASTNode>()) { in getName()
94 using ChildMap = std::multimap<ASTNode, ASTNode>;
96 static void visitASTNodeRecursive(ASTNode node, ASTNode base, in visitASTNodeRecursive()
98 ASTNodeHierarchyVisitor<ASTNode> visit) { in visitASTNodeRecursive()
109 ASTNodeHierarchyVisitor<ASTNode> visit) { in visitHierarchy()
121 ASTNode root; in visitHierarchy()
122 for (ASTNode node : nodes) { in visitHierarchy()
135 visitASTNodeRecursive(root, ASTNode(), hierarchy, visit); in visitHierarchy()
140 ASTNodeHierarchyVisitor<ASTNode> visit) { in visitASTNodeHierarchyImpl()
H A DClangASTNodesEmitter.cpp33 typedef std::multimap<ASTNode, ASTNode> ChildMap;
37 ASTNode Root;
61 std::string baseName(ASTNode node) { in baseName()
70 std::pair<ASTNode, ASTNode> EmitNode(raw_ostream& OS, ASTNode Base);
87 std::pair<ASTNode, ASTNode> ClangASTNodesEmitter::EmitNode(raw_ostream &OS, in EmitNode()
88 ASTNode Base) { in EmitNode()
94 ASTNode First, Last; in EmitNode()
99 ASTNode Child = i->second; in EmitNode()
H A DASTTableGen.h157 class ASTNode : public HasProperties {
159 ASTNode(llvm::Record *record = nullptr) : HasProperties(record) {} in HasProperties()
166 ASTNode getBase() const { in getBase()
180 class DeclNode : public ASTNode {
182 DeclNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() function
202 class TypeNode : public ASTNode {
204 TypeNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() function
224 class StmtNode : public ASTNode {
226 StmtNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() function
487 ASTNodeHierarchyVisitor<ASTNode> visit);
[all …]
H A DClangASTPropertiesEmitter.cpp214 if (ASTNode base = derivedNode.getAs<ASTNode>()) { in visitAllNodesWithInfo()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.h69 template <typename T> std::string safeGetName(const T *ASTNode) { in safeGetName() argument
70 const auto *const ND = llvm::dyn_cast_or_null<clang::NamedDecl>(ASTNode); in safeGetName()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DCommentNodes.td1 include "clang/Basic/ASTNode.td"
3 class CommentNode<CommentNode base, bit abstract = 0> : ASTNode {
H A DASTNode.td5 class ASTNode : HasProperties;
H A DDeclNodes.td1 include "clang/Basic/ASTNode.td"
4 : ASTNode, AttrSubject {
H A DTypeNodes.td1 include "clang/Basic/ASTNode.td"
3 class TypeNode<TypeNode base, bit abstract = 0> : ASTNode {
H A DStmtNodes.td1 include "clang/Basic/ASTNode.td"
3 class StmtNode<StmtNode base, bit abstract = 0> : ASTNode, AttrSubject {
H A DAttr.td520 bit ASTNode = 1;
615 let ASTNode = 0;
1287 let ASTNode = 0;
1350 let ASTNode = 0;
1663 let ASTNode = 0;
1671 let ASTNode = 0;
1681 let ASTNode = 0;
2282 let ASTNode = 0;
2777 let ASTNode = 0;
2793 let ASTNode = 0;
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp197 template <class T> std::tuple<NodeId, NodeId> PreTraverse(T *ASTNode) { in PreTraverse()
203 N.ASTNode = DynTypedNode::create(*ASTNode); in PreTraverse()
204 assert(!N.ASTNode.getNodeKind().isNone() && in PreTraverse()
414 const DynTypedNode &DTN = N.ASTNode; in getNodeValue()
687 ASTNodeKind Node::getType() const { return ASTNode.getNodeKind(); } in getType()
692 if (auto *ND = ASTNode.get<NamedDecl>()) { in getQualifiedIdentifier()
700 if (auto *ND = ASTNode.get<NamedDecl>()) { in getIdentifier()
996 SourceRange Range = N.ASTNode.getSourceRange(); in getSourceRangeOffsets()
1000 if (auto *ThisExpr = N.ASTNode.get<CXXThisExpr>()) { in getSourceRangeOffsets()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Index/
H A DIndexDataConsumer.h44 SourceLocation Loc, ASTNodeInfo ASTNode) { in handleDeclOccurrence() argument
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/ASTDiff/
H A DASTDiff.h40 DynTypedNode ASTNode; member
/freebsd-13.1/contrib/llvm-project/clang/include/clang-c/
H A DDocumentation.h37 const void *ASTNode; member