HomeSort by: relevance | last modified time | path
    Searched refs:DynTypedNode (Results 1 - 22 of 22) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/include/clang/AST/
ParentMapContext.h 1 //===- ParentMapContext.h - Map of parents using DynTypedNode -------*- C++ -*-===//
55 DynTypedNodeList getParents(const DynTypedNode &Node);
65 DynTypedNode traverseIgnored(const DynTypedNode &N) const;
90 /// Container for either a single DynTypedNode or for an ArrayRef to
91 /// DynTypedNode. For use with ParentMap.
93 llvm::AlignedCharArrayUnion<DynTypedNode, ArrayRef<DynTypedNode>> Storage;
97 DynTypedNodeList(const DynTypedNode &N) : IsSingleNode(true) {
98 new (&Storage) DynTypedNode(N)
    [all...]
ASTTypeTraits.h 121 /// identity. This is useful for the fast path in DynTypedNode.
227 /// Use \c create(Node) to create a \c DynTypedNode from an AST node,
233 class DynTypedNode {
235 /// Creates a \c DynTypedNode from \c Node.
237 static DynTypedNode create(const T &Node) {
250 /// in the \c DynTypedNode, and the returned pointer points at
251 /// the storage inside DynTypedNode. For those nodes, do not
252 /// use the pointer outside the scope of the DynTypedNode.
289 /// Imposes an order on \c DynTypedNode.
294 bool operator<(const DynTypedNode &Other) const
    [all...]
ASTNodeTraverser.h 251 void Visit(const DynTypedNode &N) {
ASTContext.h 102 class DynTypedNode;
  /src/external/apache2/llvm/dist/clang/lib/AST/
ParentMapContext.cpp 1 //===- ParentMapContext.cpp - Map of parents using DynTypedNode -*- C++ -*-===//
45 DynTypedNode ParentMapContext::traverseIgnored(const DynTypedNode &N) const {
47 return DynTypedNode::create(*traverseIgnored(E));
64 using ParentVector = llvm::SmallVector<DynTypedNode, 2>;
72 DynTypedNode *, ParentVector *>>;
75 /// DynTypedNode for all keys.
77 llvm::DenseMap<DynTypedNode,
79 DynTypedNode *, ParentVector *>>;
85 static DynTypedNode
    [all...]
ASTTypeTraits.cpp 140 void DynTypedNode::print(llvm::raw_ostream &OS,
169 void DynTypedNode::dump(llvm::raw_ostream &OS,
181 SourceRange DynTypedNode::getSourceRange() const {
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/ASTDiff/
ASTDiffInternal.h 18 using DynTypedNode = DynTypedNode;
ASTDiff.h 40 DynTypedNode ASTNode;
  /src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
ASTMatchFinder.h 193 match(clang::DynTypedNode::create(Node), Context);
195 void match(const clang::DynTypedNode &Node, ASTContext &Context);
254 SmallVector<BoundNodes, 1> match(MatcherT Matcher, const DynTypedNode &Node,
299 SmallVector<BoundNodes, 1> match(MatcherT Matcher, const DynTypedNode &Node,
311 return match(Matcher, DynTypedNode::create(Node), Context);
325 matchDynamic(internal::DynTypedMatcher Matcher, const DynTypedNode &Node,
338 return matchDynamic(Matcher, DynTypedNode::create(Node), Context);
ASTMatchersInternal.h 224 void addNode(StringRef ID, const DynTypedNode &DynNode) {
241 DynTypedNode getNode(StringRef ID) const {
244 return DynTypedNode();
259 using IDToNodeMap = std::map<std::string, DynTypedNode, std::less<>>;
298 void setBinding(StringRef Id, const DynTypedNode &DynNode) {
355 virtual bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
381 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
408 /// Matcher that works on a \c DynTypedNode.
412 /// It checks whether the \c DynTypedNode is convertible into the type of the
478 bool matches(const DynTypedNode &DynNode, ASTMatchFinder *Finder
    [all...]
ASTMatchers.h 120 /// type of \c clang::DynTypedNode
5204 Predicate.Node = DynTypedNode::create(Node);
7567 llvm::SmallVector<DynTypedNode, 8> Stack(Parents.begin(), Parents.end());
7618 llvm::SmallVector<DynTypedNode, 8> Stack(Parents.begin(), Parents.end());
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
ASTSelection.h 52 DynTypedNode Node;
56 SelectedASTNode(const DynTypedNode &Node, SourceSelectionKind SelectionKind)
  /src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
ASTMatchFinder.cpp 67 DynTypedNode Node;
115 bool findMatch(const DynTypedNode &DynNode) {
361 if (Matcher->matches(DynTypedNode::create(Node), Finder,
369 if (Matcher->matches(DynTypedNode::create(Node), Finder,
578 bool memoizedMatchesRecursively(const DynTypedNode &Node, ASTContext &Ctx,
613 bool matchesRecursively(const DynTypedNode &Node,
644 bool matchesChildOf(const DynTypedNode &Node, ASTContext &Ctx,
652 bool matchesDescendantOf(const DynTypedNode &Node, ASTContext &Ctx,
662 bool matchesAncestorOf(const DynTypedNode &Node, ASTContext &Ctx,
677 void match(const DynTypedNode &Node)
    [all...]
ASTMatchersInternal.cpp 52 static bool notUnaryOperator(const DynTypedNode &DynNode,
57 static bool allOfVariadicOperator(const DynTypedNode &DynNode,
62 static bool eachOfVariadicOperator(const DynTypedNode &DynNode,
67 static bool anyOfVariadicOperator(const DynTypedNode &DynNode,
72 static bool optionallyVariadicOperator(const DynTypedNode &DynNode,
112 const DynTypedNode &DynNode, ASTMatchFinder *Finder,
121 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
136 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
157 bool dynMatches(const DynTypedNode &, ASTMatchFinder *,
174 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/
RangeSelector.cpp 54 static Expected<DynTypedNode> getNode(const ast_matchers::BoundNodes &Nodes,
143 Expected<DynTypedNode> Node = getNode(Result.Nodes, ID);
156 Expected<DynTypedNode> Node = getNode(Result.Nodes, ID);
190 Expected<DynTypedNode> Node = getNode(Result.Nodes, ID);
202 Expected<DynTypedNode> N = getNode(Result.Nodes, ID);
260 Expected<DynTypedNode> N = getNode(Result.Nodes, ID);
RewriteRule.cpp 297 transformer::detail::rewriteDescendants(const DynTypedNode &DNode,
Stencil.cpp 36 static llvm::Expected<DynTypedNode>
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/
ASTSelection.cpp 49 SelectedASTNode(DynTypedNode::create(*Context.getTranslationUnitDecl()),
97 SelectedASTNode(DynTypedNode::create(*D), SelectionKind));
125 SelectedASTNode(DynTypedNode::create(*S), SelectionKind));
424 const DynTypedNode &Node = Parent.get().Node;
442 const DynTypedNode &Node = Parent.get().Node;
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/
NodeIntrospection.h 97 NodeLocationAccessors GetLocations(clang::DynTypedNode const &Node);
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Transformer/
RewriteRule.h 418 rewriteDescendants(const DynTypedNode &Node, RewriteRule Rule,
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
USRLocFinder.cpp 448 getClosestAncestorDecl(DynTypedNode::create(TargetLoc)),
  /src/external/apache2/llvm/dist/clang/lib/Tooling/ASTDiff/
ASTDiff.cpp 203 N.ASTNode = DynTypedNode::create(*ASTNode);
414 const DynTypedNode &DTN = N.ASTNode;

Completed in 65 milliseconds