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

/freebsd-13-stable/contrib/llvm-project/clang/utils/TableGen/
H A DASTTableGen.cpp24 if (auto node = getAs<ASTNode>()) {
94 using ChildMap = std::multimap<ASTNode, ASTNode>;
96 static void visitASTNodeRecursive(ASTNode node, ASTNode base,
98 ASTNodeHierarchyVisitor<ASTNode> visit) {
109 ASTNodeHierarchyVisitor<ASTNode> visit) {
121 ASTNode root;
122 for (ASTNode node : nodes) {
135 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.h21 #define ASTNodeClassName "ASTNode"
42 // Cases of various non-ASTNode structured types like DeclarationName.
157 class ASTNode : public HasProperties { class in namespace:clang::tblgen
159 ASTNode(llvm::Record *record = nullptr) : HasProperties(record) {} function in class:clang::tblgen::ASTNode
166 ASTNode getBase() const {
180 class DeclNode : public ASTNode {
182 DeclNode(llvm::Record *record = nullptr) : ASTNode(record) {}
186 DeclNode getBase() const { return DeclNode(ASTNode::getBase().getRecord()); }
202 class TypeNode : public ASTNode {
204 TypeNode(llvm::Record *record = nullptr) : ASTNode(recor
[all...]
H A DClangASTPropertiesEmitter.cpp214 if (ASTNode base = derivedNode.getAs<ASTNode>()) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.h69 template <typename T> std::string safeGetName(const T *ASTNode) { argument
70 const auto *const ND = llvm::dyn_cast_or_null<clang::NamedDecl>(ASTNode);
/freebsd-13-stable/contrib/llvm-project/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
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/ASTDiff/
H A DASTDiff.h40 DynTypedNode ASTNode; member in struct:clang::diff::Node
/freebsd-13-stable/contrib/llvm-project/clang/include/clang-c/
H A DDocumentation.h37 const void *ASTNode; member in struct:__anon1484
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp197 template <class T> std::tuple<NodeId, NodeId> PreTraverse(T *ASTNode) { argument
203 N.ASTNode = DynTypedNode::create(*ASTNode);
204 assert(!N.ASTNode.getNodeKind().isNone() &&
414 const DynTypedNode &DTN = N.ASTNode;
687 ASTNodeKind Node::getType() const { return ASTNode.getNodeKind(); }
692 if (auto *ND = ASTNode.get<NamedDecl>()) {
700 if (auto *ND = ASTNode.get<NamedDecl>()) {
996 SourceRange Range = N.ASTNode.getSourceRange();
1000 if (auto *ThisExpr = N.ASTNode
[all...]

Completed in 110 milliseconds