diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-02-13 18:33:28 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-02-13 18:33:28 +0000 |
commit | ae4b77d99dca0fc7a727333ac98c600ba517ab89 (patch) | |
tree | 46fe6ecc4f046c9ff13d6b0094016f2df362440d /clang/lib/CodeGen/CGVtable.cpp | |
parent | 43813bf0232abba5c813b042c68ec8424d21bc0c (diff) | |
download | bcm5719-llvm-ae4b77d99dca0fc7a727333ac98c600ba517ab89.tar.gz bcm5719-llvm-ae4b77d99dca0fc7a727333ac98c600ba517ab89.zip |
cindex/Python: Fix cindex-{dump,includes} examples to just pass all args
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
Diffstat (limited to 'clang/lib/CodeGen/CGVtable.cpp')
0 files changed, 0 insertions, 0 deletions