summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGVtable.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-02-13 18:33:28 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-02-13 18:33:28 +0000
commitae4b77d99dca0fc7a727333ac98c600ba517ab89 (patch)
tree46fe6ecc4f046c9ff13d6b0094016f2df362440d /clang/lib/CodeGen/CGVtable.cpp
parent43813bf0232abba5c813b042c68ec8424d21bc0c (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud