| /netbsd-src/external/bsd/elftosb/dist/elftosb2/ |
| H A D | ElftosbAST.h | 34 class ASTNode 38 ASTNode() : m_parent(0) {} in ASTNode() function 41 ASTNode(ASTNode * parent) : m_parent(parent) {} in ASTNode() function 44 ASTNode(const ASTNode & other) : m_parent(other.m_parent) {} in ASTNode() function 47 virtual ~ASTNode() {} in ~ASTNode() 50 virtual ASTNode * clone() const = 0; 57 virtual ASTNode * getParent() const { return m_parent; } in getParent() 58 virtual void setParent(ASTNode * newParent) { m_parent = newParent; } in setParent() 71 virtual void setLocation(ASTNode * loc) { setLocation(loc->getLocation()); } in setLocation() 72 virtual void setLocation(ASTNode * first, ASTNode * last); [all …]
|
| H A D | ElftosbAST.cpp | 17 #pragma mark = ASTNode = 19 void ASTNode::printTree(int indent) const in printTree() 25 void ASTNode::printIndent(int indent) const in printIndent() 34 void ASTNode::setLocation(token_loc_t & first, token_loc_t & last) in setLocation() 40 void ASTNode::setLocation(ASTNode * first, ASTNode * last) in setLocation() 49 : ASTNode(other), m_list() in ListASTNode() 74 void ListASTNode::appendNode(ASTNode * node) in appendNode() 85 ASTNode::printTree(indent); in printTree() 103 const ASTNode * node = *it; in updateLocation() 130 : ASTNode(), m_options(), m_constants(), m_sources(), m_sections() in CommandFileASTNode() [all …]
|
| H A D | ConversionController.h | 115 Value * convertAssignmentNodeToValue(ASTNode * node, std::string & ident); 117 DataSource * createSourceFromNode(ASTNode * dataNode); 118 DataTarget * createTargetFromNode(ASTNode * targetNode);
|
| H A D | ConversionController.cpp | 130 ASTNode * node = *it; in run() 510 ASTNode * contents = dataSection->getContents(); in convertDataSection() 540 Value * ConversionController::convertAssignmentNodeToValue(ASTNode * node, std::string & ident) in convertAssignmentNodeToValue() 555 ASTNode * valueNode = assignmentNode->getValue(); in convertAssignmentNodeToValue() 734 ASTNode * argNode = statement->getArgument(); in convertCallStatement() 1072 DataSource * ConversionController::createSourceFromNode(ASTNode * dataNode) in createSourceFromNode() 1151 ASTNode * node = *it; in createSourceFromNode() 1202 ASTNode * valueNode = assignmentNode->getValue(); in createIVTDataSource() 1234 DataTarget * ConversionController::createTargetFromNode(ASTNode * targetNode) in createTargetFromNode()
|
| H A D | elftosb_parser.tab.hpp | 125 elftosb::ASTNode * m_ast; // must use full name here because this is put into *.tab.hpp
|
| /netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| H A D | ASTTableGen.cpp | 24 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 D | ClangASTNodesEmitter.cpp | 33 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 D | ASTTableGen.h | 157 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 186 DeclNode getBase() const { return DeclNode(ASTNode::getBase().getRecord()); } in getBase() 202 class TypeNode : public ASTNode { 204 TypeNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() function 208 TypeNode getBase() const { return TypeNode(ASTNode::getBase().getRecord()); } in getBase() 224 class StmtNode : public ASTNode { [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | ASTUtils.h | 69 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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/ |
| H A D | CXComment.h | 33 Result.ASTNode = C; in createCXComment() 39 return static_cast<const comments::Comment *>(CXC.ASTNode); in getASTNode()
|
| H A D | CXIndexDataConsumer.cpp | 159 SourceLocation Loc, ASTNodeInfo ASTNode) { in handleDeclOccurrence() argument 167 if (auto *ObjCID = dyn_cast_or_null<ObjCInterfaceDecl>(ASTNode.OrigD)) { in handleDeclOccurrence() 175 if (auto *ObjCPD = dyn_cast_or_null<ObjCProtocolDecl>(ASTNode.OrigD)) { in handleDeclOccurrence() 191 if (ASTNode.OrigE) { in handleDeclOccurrence() 192 Cursor = cxcursor::MakeCXCursor(ASTNode.OrigE, in handleDeclOccurrence() 193 cast<Decl>(ASTNode.ContainerDC), in handleDeclOccurrence() 196 if (ASTNode.OrigD) { in handleDeclOccurrence() 197 if (auto *OrigND = dyn_cast<NamedDecl>(ASTNode.OrigD)) in handleDeclOccurrence() 200 Cursor = MakeCXCursor(ASTNode.OrigD, CXTU); in handleDeclOccurrence() 206 dyn_cast_or_null<NamedDecl>(ASTNode.Parent), in handleDeclOccurrence() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| H A D | CommentNodes.td | 1 include "clang/Basic/ASTNode.td" 3 class CommentNode<CommentNode base, bit abstract = 0> : ASTNode {
|
| H A D | ASTNode.td | 5 class ASTNode : HasProperties;
|
| H A D | DeclNodes.td | 1 include "clang/Basic/ASTNode.td" 4 : ASTNode, AttrSubject {
|
| H A D | TypeNodes.td | 1 include "clang/Basic/ASTNode.td" 3 class TypeNode<TypeNode base, bit abstract = 0> : ASTNode {
|
| H A D | StmtNodes.td | 1 include "clang/Basic/ASTNode.td" 3 class StmtNode<StmtNode base, bit abstract = 0> : ASTNode, AttrSubject {
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 197 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()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | ast_node.h | 17 class ASTNode : public RootObject
|
| H A D | ast_node.d | 17 extern (C++) abstract class ASTNode : RootObject
|
| H A D | cond.h | 32 class Condition : public ASTNode
|
| H A D | init.h | 30 class Initializer : public ASTNode
|
| H A D | template.h | 108 class TemplateParameter : public ASTNode
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Index/ |
| H A D | IndexDataConsumer.h | 44 SourceLocation Loc, ASTNodeInfo ASTNode) { in handleDeclOccurrence() argument
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/ASTDiff/ |
| H A D | ASTDiff.h | 40 DynTypedNode ASTNode; member
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang-c/ |
| H A D | Documentation.h | 37 const void *ASTNode; member
|