HomeSort by relevance Sort by last modified time
    Searched refs:DynTypedNode (Results 1 - 11 of 11) sorted by null

  /external/clang/include/clang/AST/
ASTTypeTraits.h 156 /// Use \c create(Node) to create a \c DynTypedNode from an AST node,
162 class DynTypedNode {
164 /// \brief Creates a \c DynTypedNode from \c Node.
166 static DynTypedNode create(const T &Node) {
179 /// in the \c DynTypedNode, and the returned pointer points at
180 /// the storage inside DynTypedNode. For those nodes, do not
181 /// use the pointer outside the scope of the DynTypedNode.
205 /// \brief Imposes an order on \c DynTypedNode.
210 bool operator<(const DynTypedNode &Other) const {
214 bool operator==(const DynTypedNode &Other) const
    [all...]
ASTContext.h 424 typedef llvm::SmallVector<ast_type_traits::DynTypedNode, 2> ParentVector;
428 llvm::PointerUnion<ast_type_traits::DynTypedNode *,
457 return getParents(ast_type_traits::DynTypedNode::create(Node));
460 ParentVector getParents(const ast_type_traits::DynTypedNode &Node);
    [all...]
  /external/clang/unittests/AST/
ASTTypeTraitsTest.cpp 77 TEST(DynTypedNode, DeclSourceRange) {
78 RangeVerifier<DynTypedNode> Verifier;
83 TEST(DynTypedNode, StmtSourceRange) {
84 RangeVerifier<DynTypedNode> Verifier;
89 TEST(DynTypedNode, TypeLocSourceRange) {
90 RangeVerifier<DynTypedNode> Verifier;
95 TEST(DynTypedNode, NNSLocSourceRange) {
96 RangeVerifier<DynTypedNode> Verifier;
102 TEST(DynTypedNode, DeclDump) {
108 TEST(DynTypedNode, StmtDump)
    [all...]
MatchVerifier.h 129 inline void MatchVerifier<ast_type_traits::DynTypedNode>::run(
225 class DumpVerifier : public MatchVerifier<ast_type_traits::DynTypedNode> {
233 const ast_type_traits::DynTypedNode &Node) {
252 class PrintVerifier : public MatchVerifier<ast_type_traits::DynTypedNode> {
260 const ast_type_traits::DynTypedNode &Node) {
  /external/clang/lib/ASTMatchers/
ASTMatchersInternal.cpp 37 bool NotUnaryOperator(const ast_type_traits::DynTypedNode DynNode,
57 bool AllOfVariadicOperator(const ast_type_traits::DynTypedNode DynNode,
71 bool EachOfVariadicOperator(const ast_type_traits::DynTypedNode DynNode,
88 bool AnyOfVariadicOperator(const ast_type_traits::DynTypedNode DynNode,
ASTMatchFinder.cpp 57 ast_type_traits::DynTypedNode Node;
109 bool findMatch(const ast_type_traits::DynTypedNode &DynNode) {
250 if (Matcher->matches(ast_type_traits::DynTypedNode::create(Node), Finder,
258 if (Matcher->matches(ast_type_traits::DynTypedNode::create(Node), Finder,
370 bool memoizedMatchesRecursively(const ast_type_traits::DynTypedNode &Node,
401 bool matchesRecursively(const ast_type_traits::DynTypedNode &Node,
415 bool matchesChildOf(const ast_type_traits::DynTypedNode &Node,
426 bool matchesDescendantOf(const ast_type_traits::DynTypedNode &Node,
436 bool matchesAncestorOf(const ast_type_traits::DynTypedNode &Node,
450 void match(const ast_type_traits::DynTypedNode& Node)
    [all...]
  /external/clang/include/clang/ASTMatchers/
ASTMatchFinder.h 160 match(clang::ast_type_traits::DynTypedNode::create(Node), Context);
162 void match(const clang::ast_type_traits::DynTypedNode &Node,
202 match(MatcherT Matcher, const ast_type_traits::DynTypedNode &Node,
240 match(MatcherT Matcher, const ast_type_traits::DynTypedNode &Node,
252 return match(Matcher, ast_type_traits::DynTypedNode::create(Node), Context);
ASTMatchersInternal.h 66 NodeMap[ID] = ast_type_traits::DynTypedNode::create(*Node);
82 ast_type_traits::DynTypedNode getNode(StringRef ID) const {
85 return ast_type_traits::DynTypedNode();
100 typedef std::map<std::string, ast_type_traits::DynTypedNode> IDToNodeMap;
308 /// \brief Matcher that works on a \c DynTypedNode.
312 /// It checks whether the \c DynTypedNode is convertible into the type of the
326 bool matches(const ast_type_traits::DynTypedNode DynNode,
382 virtual bool matches(const ast_type_traits::DynTypedNode DynNode,
413 bool matches(const ast_type_traits::DynTypedNode DynNode,
720 return matchesChildOf(ast_type_traits::DynTypedNode::create(Node)
    [all...]
ASTMatchers.h 91 /// type of \c clang::ast_type_traits::DynTypedNode
    [all...]
  /external/clang/lib/AST/
ASTTypeTraits.cpp 65 void DynTypedNode::print(llvm::raw_ostream &OS,
87 void DynTypedNode::dump(llvm::raw_ostream &OS, SourceManager &SM) const {
96 SourceRange DynTypedNode::getSourceRange() const {
ASTContext.cpp 797 if (Entry.second.is<ast_type_traits::DynTypedNode *>()) {
798 delete Entry.second.get<ast_type_traits::DynTypedNode *>();
    [all...]

Completed in 78 milliseconds