| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
It looks like this was botched back in r94936.
llvm-svn: 207947
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This option flag was incorrectly expecting an argument:
$ cindex-dump.py --show-ids test.cpp
cindex-dump.py: error: invalid number arguments
With this change the feature correctly gets enabled by --show-ids.
No tests.
llvm-svn: 207946
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
directly to Index, instead of requiring the input file to be first. This makes
the examples behave more like 'clang'.
For example,
ddunbar@giles:tmp$ echo '#include <string>' | python ~/llvm/tools/clang/bindings/python/examples/cindex/cindex-includes.py -- -x c++ - | wc -l
114
ddunbar@giles:tmp$ echo '#include <stdio.h>' | python ~/llvm/tools/clang/bindings/python/examples/cindex/cindex-includes.py -- -x c - | wc -l
10
llvm-svn: 96107
|
|
|
|
|
|
|
| |
pending a hash function. Also added a --max-depth argument, handy for timing and
limiting the volume of output.
llvm-svn: 94936
|
|
translation unit.
llvm-svn: 94934
|