]> granicus.if.org Git - clang/commit
[libclang] A couple of enhancements to c-index-test.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 15 Mar 2012 18:07:22 +0000 (18:07 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 15 Mar 2012 18:07:22 +0000 (18:07 +0000)
commit13c20a77d486c1ce0b6db2b836f2d14daa9e95ff
treeb9d774f9d1017cae93781c0cac452f4c3ad4bb71
parent90226acd0b9be2964343cd63ae604bf0a656d33b
[libclang] A couple of enhancements to c-index-test.

-When printing location avoid printing the filename if it is
same as the main file, not just if it has '.h' extension.
-Make sure we allocate enough bytes for storing as string a
huge line number.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152821 91177308-0d34-0410-b5e6-96231b3b80d8
tools/c-index-test/c-index-test.c