[cfe-commits] r160265 - in /cfe/trunk: include/clang/Tooling/CommandLineClangTool.h lib/Tooling/CMakeLists.txt lib/Tooling/CommandLineClangTool.cpp test/CMakeLists.txt test/Tooling/clang-ast-dump.cpp tools/CMakeLists.txt tools/Makefile tools/clan
Alexander Kornienko
alexfh at google.com
Thu Jul 26 09:17:00 PDT 2012
On Thu, Jul 26, 2012 at 5:38 PM, Douglas Gregor <dgregor at apple.com> wrote:
> > Ok, sounds good. With that I don't have any nits on the change any
> > more - ready to go in?
>
> Go for it!
>
> - Doug
>
Committed as r160784.
Now I have one more option to make -ast-dump-filter easier to use: -ast-list.
It outputs the list of what -ast-dump-filter filters on, e.g. for the
following test.cpp:
namespace TheNamespace {
class TheClass {
public:
int theMethod(int x) { return x + x; }
};
}
*clang -cc1 -ast-list* will output:
__int128_t
__uint128_t
__builtin_va_list
TheNamespace
TheNamespace::TheClass
TheNamespace::TheClass::theMethod
x
--
Best regards,
Alexander Kornienko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120726/5f62ede8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ast-list.diff
Type: application/octet-stream
Size: 6218 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120726/5f62ede8/attachment.obj>
More information about the cfe-commits
mailing list