Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/include/lldb/ValueObject/
H A DDILAST.h49 class ASTNode {
51 ASTNode(uint32_t location, NodeKind kind) in ASTNode() function
53 virtual ~ASTNode() = default;
65 using ASTNodeUP = std::unique_ptr<ASTNode>;
67 class ErrorNode : public ASTNode {
69 ErrorNode() : ASTNode(0, NodeKind::eErrorNode) {} in ErrorNode()
72 static bool classof(const ASTNode *node) { in classof()
77 class IdentifierNode : public ASTNode {
80 : ASTNode(location, NodeKind::eIdentifierNode), m_name(std::move(name)) {} in IdentifierNode()
86 static bool classof(const ASTNode *node) { in classof()
[all …]
H A DDILEval.h46 llvm::Expected<lldb::ValueObjectSP> Evaluate(const ASTNode *node);
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangASTNodesEmitter.cpp32 typedef std::multimap<ASTNode, ASTNode> ChildMap;
35 std::set<ASTNode> PrioritizedClasses;
37 ASTNode Root;
56 std::string baseName(ASTNode node) { in baseName()
65 std::pair<ASTNode, ASTNode> EmitNode(raw_ostream& OS, ASTNode Base);
74 std::set<ASTNode>(vecPrioritized.begin(), vecPrioritized.end()); in ClangASTNodesEmitter()
88 std::pair<ASTNode, ASTNode> ClangASTNodesEmitter::EmitNode(raw_ostream &OS, in EmitNode()
89 ASTNode Base) { in EmitNode()
95 ASTNode First, Last; in EmitNode()
99 auto Comp = [this](const ASTNode &LHS, const ASTNode &RHS) { in EmitNode()
[all …]
H A DASTTableGen.cpp24 if (auto node = getAs<ASTNode>()) { in getName()
95 using ChildMap = std::multimap<ASTNode, ASTNode>;
97 static void visitASTNodeRecursive(ASTNode node, ASTNode base, in visitASTNodeRecursive()
99 ASTNodeHierarchyVisitor<ASTNode> visit) { in visitASTNodeRecursive()
109 ASTNodeHierarchyVisitor<ASTNode> visit) { in visitHierarchy()
118 ASTNode root; in visitHierarchy()
119 for (ASTNode node : records.getAllDerivedDefinitions(nodeClassName)) { in visitHierarchy()
132 visitASTNodeRecursive(root, ASTNode(), hierarchy, visit); in visitHierarchy()
137 ASTNodeHierarchyVisitor<ASTNode> visit) { in visitASTNodeHierarchyImpl()
H A DASTTableGen.h158 class ASTNode : public HasProperties {
160 ASTNode(const llvm::Record *record = nullptr) : HasProperties(record) {} in HasProperties()
167 ASTNode getBase() const { in getBase()
181 class DeclNode : public ASTNode {
183 DeclNode(const llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() function
187 DeclNode getBase() const { return DeclNode(ASTNode::getBase().getRecord()); } in getBase()
203 class TypeNode : public ASTNode {
205 TypeNode(const llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() function
209 TypeNode getBase() const { return TypeNode(ASTNode::getBase().getRecord()); } in getBase()
225 class StmtNode : public ASTNode {
[all …]
H A DClangASTPropertiesEmitter.cpp210 if (ASTNode base = derivedNode.getAs<ASTNode>()) { in visitAllNodesWithInfo()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DMustache.cpp121 class ASTNode { class
133 ASTNode(llvm::StringMap<AstPtr> &Partials, llvm::StringMap<Lambda> &Lambdas, in ASTNode() function in llvm::mustache::ASTNode
139 ASTNode(std::string Body, ASTNode *Parent, llvm::StringMap<AstPtr> &Partials, in ASTNode() function in llvm::mustache::ASTNode
147 ASTNode(Type Ty, Accessor Accessor, ASTNode *Parent, in ASTNode() function in llvm::mustache::ASTNode
170 ASTNode *Partial);
184 ASTNode *Parent;
196 return std::make_unique<ASTNode>(Partials, Lambdas, SectionLambdas, Escapes); in createRootNode()
199 AstPtr createNode(ASTNode::Type T, Accessor A, ASTNode *Parent, in createNode()
204 return std::make_unique<ASTNode>(T, std::move(A), Parent, Partials, Lambdas, in createNode()
208 AstPtr createTextNode(std::string Body, ASTNode *Parent, in createTextNode()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.h87 template <typename T> std::string safeGetName(const T *ASTNode) { in safeGetName() argument
88 const auto *const ND = llvm::dyn_cast_or_null<clang::NamedDecl>(ASTNode); in safeGetName()
/freebsd/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.td706 bit ASTNode = 1;
819 let ASTNode = 0;
1783 let ASTNode = 0;
2224 let ASTNode = 0;
2232 let ASTNode = 0;
2242 let ASTNode = 0;
2388 let ASTNode = 0;
3068 let ASTNode = 0;
3751 let ASTNode = 0;
3767 let ASTNode = 0;
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DMustache.h86 class ASTNode; variable
87 using AstPtr = std::unique_ptr<ASTNode>;
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDynamicRecursiveASTVisitor.h57 template <typename ASTNode>
58 using MaybeConst = std::conditional_t<IsConst, const ASTNode, ASTNode>;
/freebsd/contrib/llvm-project/clang/include/clang/Index/
H A DIndexDataConsumer.h44 SourceLocation Loc, ASTNodeInfo ASTNode) { in handleDeclOccurrence() argument
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/ASTDiff/
H A DASTDiff.h41 DynTypedNode ASTNode; member
/freebsd/contrib/llvm-project/clang/include/clang-c/
H A DDocumentation.h38 const void *ASTNode; member
/freebsd/contrib/llvm-project/lldb/source/ValueObject/
H A DDILEval.cpp145 llvm::Expected<lldb::ValueObjectSP> Interpreter::Evaluate(const ASTNode *node) { in Evaluate()