llvm-project/clang/lib/ASTMatchers/Dynamic
Manuel Klimek d3aa1f4a63 Re-apply r222646 (was reverted in r222667). Adding 4 ASTMatchers: typedefDecl, isInMainFile, isInSystemFile, isInFileMatchingName
Change to original: ifndef out tests in Windows due to /-separated
paths.

Summary:
Often one is only interested in matches within the main-file or matches
that are not within a system-header, for which this patch adds
isInMainFile and isInSystemFile. They take no arguments and narrow down
the matches.

The isInFileMatchingName is mainly thought for interactive
clang-query-sessions, to make a matcher more specific without restarting
the session with the files you are interested in for that moment. It
takes a string that will be used as regular-expression to match the
filename of where the matched node is expanded.

Patch by Hendrik von Prince.

llvm-svn: 222765
2014-11-25 17:01:06 +00:00
..
CMakeLists.txt [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
Diagnostics.cpp Add support for named values in the parser. 2014-04-14 13:51:21 +00:00
Makefile
Marshallers.h Replace variadic operator function pointer with an enum value. 2014-11-20 15:45:53 +00:00
Parser.cpp Support named values in the autocomplete feature. 2014-08-12 21:11:37 +00:00
Registry.cpp Re-apply r222646 (was reverted in r222667). Adding 4 ASTMatchers: typedefDecl, isInMainFile, isInSystemFile, isInFileMatchingName 2014-11-25 17:01:06 +00:00
VariantValue.cpp Replace variadic operator function pointer with an enum value. 2014-11-20 15:45:53 +00:00