[all-commits] [llvm/llvm-project] 0a717d: Make it possible control matcher traversal kind wi...
Stephen Kelly via All-commits
all-commits at lists.llvm.org
Fri Dec 6 15:12:14 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0a717d5b5d31fc2d5bc98ca695031fb09e65beb0
https://github.com/llvm/llvm-project/commit/0a717d5b5d31fc2d5bc98ca695031fb09e65beb0
Author: Stephen Kelly <steveire at gmail.com>
Date: 2019-12-06 (Fri, 06 Dec 2019)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/include/clang/AST/ASTNodeTraverser.h
M clang/include/clang/ASTMatchers/ASTMatchers.h
M clang/include/clang/ASTMatchers/ASTMatchersInternal.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/ASTMatchers/ASTMatchFinder.cpp
M clang/lib/ASTMatchers/ASTMatchersInternal.cpp
M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
Log Message:
-----------
Make it possible control matcher traversal kind with ASTContext
Summary:
This will eventually allow traversal of an AST while ignoring invisible
AST nodes. Currently it depends on the available enum values for
TraversalKinds. That can be extended to ignore all invisible nodes in
the future.
Reviewers: klimek, aaron.ballman
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D61837
More information about the All-commits
mailing list