| /openbsd-src/gnu/llvm/clang/utils/TableGen/ |
| H A D | ASTTableGen.cpp | 25 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() 110 ASTNodeHierarchyVisitor<ASTNode> visit) { in visitHierarchy() 122 ASTNode root; in visitHierarchy() 123 for (ASTNode node : nodes) { in visitHierarchy() 136 visitASTNodeRecursive(root, ASTNode(), hierarchy, visit); in visitHierarchy() 141 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 | 158 class ASTNode : public HasProperties { 160 ASTNode(llvm::Record *record = nullptr) : HasProperties(record) {} in HasProperties() 167 ASTNode getBase() const { in getBase() 181 class DeclNode : public ASTNode { 183 DeclNode(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(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 D | ClangASTPropertiesEmitter.cpp | 215 if (ASTNode base = derivedNode.getAs<ASTNode>()) { in visitAllNodesWithInfo()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | ASTUtils.h | 65 template <typename T> std::string safeGetName(const T *ASTNode) { in safeGetName() argument 66 const auto *const ND = llvm::dyn_cast_or_null<clang::NamedDecl>(ASTNode); in safeGetName()
|
| /openbsd-src/gnu/llvm/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 | 164 SourceLocation Loc, ASTNodeInfo ASTNode) { in handleDeclOccurrence() argument 172 if (auto *ObjCID = dyn_cast_or_null<ObjCInterfaceDecl>(ASTNode.OrigD)) { in handleDeclOccurrence() 180 if (auto *ObjCPD = dyn_cast_or_null<ObjCProtocolDecl>(ASTNode.OrigD)) { in handleDeclOccurrence() 196 if (ASTNode.OrigE) { in handleDeclOccurrence() 197 Cursor = cxcursor::MakeCXCursor(ASTNode.OrigE, in handleDeclOccurrence() 198 cast<Decl>(ASTNode.ContainerDC), in handleDeclOccurrence() 201 if (ASTNode.OrigD) { in handleDeclOccurrence() 202 if (auto *OrigND = dyn_cast<NamedDecl>(ASTNode.OrigD)) in handleDeclOccurrence() 205 Cursor = MakeCXCursor(ASTNode.OrigD, CXTU); in handleDeclOccurrence() 211 dyn_cast_or_null<NamedDecl>(ASTNode.Parent), in handleDeclOccurrence() [all …]
|
| H A D | CXIndexDataConsumer.h | 437 SourceLocation Loc, ASTNodeInfo ASTNode) override;
|
| /openbsd-src/gnu/llvm/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 {
|
| H A D | Attr.td | 558 bit ASTNode = 1; 658 let ASTNode = 0; 1355 let ASTNode = 0; 1418 let ASTNode = 0; 1730 let ASTNode = 0; 1738 let ASTNode = 0; 1748 let ASTNode = 0; 2403 let ASTNode = 0; 2923 let ASTNode = 0; 2939 let ASTNode = 0; [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 196 template <class T> std::tuple<NodeId, NodeId> PreTraverse(T *ASTNode) { in PreTraverse() 202 N.ASTNode = DynTypedNode::create(*ASTNode); in PreTraverse() 203 assert(!N.ASTNode.getNodeKind().isNone() && in PreTraverse() 413 const DynTypedNode &DTN = N.ASTNode; in getNodeValue() 686 ASTNodeKind Node::getType() const { return ASTNode.getNodeKind(); } in getType() 691 if (auto *ND = ASTNode.get<NamedDecl>()) { in getQualifiedIdentifier() 699 if (auto *ND = ASTNode.get<NamedDecl>()) { in getIdentifier() 995 SourceRange Range = N.ASTNode.getSourceRange(); in getSourceRangeOffsets() 999 if (auto *ThisExpr = N.ASTNode.get<CXXThisExpr>()) { in getSourceRangeOffsets()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Index/ |
| H A D | IndexDataConsumer.h | 44 SourceLocation Loc, ASTNodeInfo ASTNode) { in handleDeclOccurrence() argument
|
| /openbsd-src/gnu/llvm/clang/include/clang/Tooling/ASTDiff/ |
| H A D | ASTDiff.h | 41 DynTypedNode ASTNode; member
|
| /openbsd-src/gnu/llvm/clang/include/clang-c/ |
| H A D | Documentation.h | 38 const void *ASTNode; member
|
| /openbsd-src/gnu/llvm/clang/tools/c-index-test/ |
| H A D | core_main.cpp | 106 SourceLocation Loc, ASTNodeInfo ASTNode) override { in handleDeclOccurrence() argument
|
| /openbsd-src/gnu/llvm/llvm/docs/TableGen/ |
| H A D | BackEnds.rst | 267 declarations for any attribute in ``Attr.td`` that has not set ``ASTNode = 0``. 283 definitions for any attribute in ``Attr.td`` that has not set ``ASTNode = 0``.
|
| /openbsd-src/gnu/llvm/clang/docs/ |
| H A D | InternalsManual.rst | 2997 Attributes that do not require an AST node should set the ``ASTNode`` field to
|