Searched refs:DynTypedNode (Results 1 - 11 of 11) sorted by relevance
/external/clang/unittests/AST/ |
H A D | 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, StmtDum [all...] |
H A D | 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/include/clang/AST/ |
H A D | ASTTypeTraits.h | 156 /// Use \c create(Node) to create a \c DynTypedNode from an AST node, 162 class DynTypedNode { class in namespace:clang::ast_type_traits 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 [all...] |
H A D | 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);
|
/external/clang/lib/ASTMatchers/ |
H A D | 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,
|
H A D | 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 [all...] |
/external/clang/include/clang/ASTMatchers/ |
H A D | 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);
|
H A D | 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 [all...] |
H A D | ASTMatchers.h | 91 /// type of \c clang::ast_type_traits::DynTypedNode 2435 Predicate.Node = ast_type_traits::DynTypedNode::create(Node);
|
/external/clang/lib/AST/ |
H A D | 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 {
|
H A D | ASTContext.cpp | 797 if (Entry.second.is<ast_type_traits::DynTypedNode *>()) { 798 delete Entry.second.get<ast_type_traits::DynTypedNode *>(); 8176 // The plan is to enable DynTypedNode to be storable in a map or hash 8178 // comparison operators for all types that DynTypedNode supports that 8182 NodeOrVector = new ast_type_traits::DynTypedNode(ParentStack.back()); 8184 if (NodeOrVector.template is<ast_type_traits::DynTypedNode *>()) { 8186 NodeOrVector.template get<ast_type_traits::DynTypedNode *>(); 8197 // std::find() because DynTypedNode::operator== can't compare all 8206 ParentStack.push_back(ast_type_traits::DynTypedNode::create(*Node)); 8221 llvm::SmallVector<ast_type_traits::DynTypedNode, 1 [all...] |
Completed in 4875 milliseconds