Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cindex/Python: Fix cindex-{dump,includes} examples to just pass all args | Daniel Dunbar | 2010-02-13 | 1 | -3/+1 |
| | | | | | | | | | | | | | 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 | ||||
* | cindex/Python: Turn off showing IDs by default, they are really slow to compute | Daniel Dunbar | 2010-01-31 | 1 | -3/+20 |
| | | | | | | | pending a hash function. Also added a --max-depth argument, handy for timing and limiting the volume of output. llvm-svn: 94936 | ||||
* | cindex/Python: Add a simple example which dumps assorted information about a ↵ | Daniel Dunbar | 2010-01-30 | 1 | -0/+72 |
translation unit. llvm-svn: 94934 |