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

/openbsd-current/gnu/llvm/clang/utils/TableGen/
H A DASTTableGen.cpp25 if (auto node = getAs<ASTNode>()) {
95 using ChildMap = std::multimap<ASTNode, ASTNode>;
97 static void visitASTNodeRecursive(ASTNode node, ASTNode base,
99 ASTNodeHierarchyVisitor<ASTNode> visit) {
110 ASTNodeHierarchyVisitor<ASTNode> visit) {
122 ASTNode root;
123 for (ASTNode node : nodes) {
136 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.h22 #define ASTNodeClassName "ASTNode"
43 // Cases of various non-ASTNode structured types like DeclarationName.
158 class ASTNode : public HasProperties { class in namespace:clang::tblgen
160 ASTNode(llvm::Record *record = nullptr) : HasProperties(record) {} function in class:clang::tblgen::ASTNode
167 ASTNode getBase() const {
181 class DeclNode : public ASTNode {
183 DeclNode(llvm::Record *record = nullptr) : ASTNode(record) {}
187 DeclNode getBase() const { return DeclNode(ASTNode::getBase().getRecord()); }
203 class TypeNode : public ASTNode {
205 TypeNode(llvm::Record *record = nullptr) : ASTNode(recor
[all...]
H A DClangASTPropertiesEmitter.cpp215 if (ASTNode base = derivedNode.getAs<ASTNode>()) {
/openbsd-current/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.h65 template <typename T> std::string safeGetName(const T *ASTNode) { argument
66 const auto *const ND = llvm::dyn_cast_or_null<clang::NamedDecl>(ASTNode);
/openbsd-current/gnu/llvm/clang/tools/libclang/
H A DCXComment.h33 Result.ASTNode = C;
39 return static_cast<const comments::Comment *>(CXC.ASTNode);
H A DCXIndexDataConsumer.cpp164 SourceLocation Loc, ASTNodeInfo ASTNode) {
172 if (auto *ObjCID = dyn_cast_or_null<ObjCInterfaceDecl>(ASTNode.OrigD)) {
180 if (auto *ObjCPD = dyn_cast_or_null<ObjCProtocolDecl>(ASTNode.OrigD)) {
196 if (ASTNode.OrigE) {
197 Cursor = cxcursor::MakeCXCursor(ASTNode.OrigE,
198 cast<Decl>(ASTNode.ContainerDC),
201 if (ASTNode.OrigD) {
202 if (auto *OrigND = dyn_cast<NamedDecl>(ASTNode.OrigD))
205 Cursor = MakeCXCursor(ASTNode.OrigD, CXTU);
211 dyn_cast_or_null<NamedDecl>(ASTNode
162 handleDeclOccurrence( const Decl *D, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, SourceLocation Loc, ASTNodeInfo ASTNode) argument
[all...]
H A DCXIndexDataConsumer.h437 SourceLocation Loc, ASTNodeInfo ASTNode) override;
/openbsd-current/gnu/llvm/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
/openbsd-current/gnu/llvm/clang/include/clang/Tooling/ASTDiff/
H A DASTDiff.h41 DynTypedNode ASTNode; member in struct:clang::diff::Node
/openbsd-current/gnu/llvm/clang/include/clang-c/
H A DDocumentation.h38 const void *ASTNode; member in struct:__anon194
/openbsd-current/gnu/llvm/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;
686 ASTNodeKind Node::getType() const { return ASTNode.getNodeKind(); }
691 if (auto *ND = ASTNode.get<NamedDecl>()) {
699 if (auto *ND = ASTNode.get<NamedDecl>()) {
995 SourceRange Range = N.ASTNode.getSourceRange();
999 if (auto *ThisExpr = N.ASTNode
[all...]
/openbsd-current/gnu/llvm/clang/tools/c-index-test/
H A Dcore_main.cpp106 SourceLocation Loc, ASTNodeInfo ASTNode) override {

Completed in 171 milliseconds