[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
Mon Jul 30 05:18:21 PDT 2012


On Thu, Jul 26, 2012 at 6:17 PM, Alexander Kornienko <alexfh at google.com>wrote:

> 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
>
>
Douglas, how about this one?

-- 
Regards,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120730/54a007eb/attachment.html>


More information about the cfe-commits mailing list