[cfe-commits] r144947 - /cfe/trunk/tools/c-index-test/c-index-test.c
NAKAMURA Takumi
geek4civic at gmail.com
Thu Nov 17 16:51:03 PST 2011
Author: chapuni
Date: Thu Nov 17 18:51:03 2011
New Revision: 144947
URL: http://llvm.org/viewvc/llvm-project?rev=144947&view=rev
Log:
c-index-test.c: Fix syntax according to C.
Modified:
cfe/trunk/tools/c-index-test/c-index-test.c
Modified: cfe/trunk/tools/c-index-test/c-index-test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/c-index-test.c?rev=144947&r1=144946&r2=144947&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Thu Nov 17 18:51:03 2011
@@ -1757,8 +1757,8 @@
printf(" | isImplicit: %d\n", info->isImplicit);
for (i = 0; i != info->numAttributes; ++i) {
+ const CXIdxAttrInfo *Attr = info->attributes[i];
printf(" <attribute>: ");
- const CXIdxAttrInfo *Attr = info->attributes[i];
PrintCursor(Attr->cursor);
printf("\n");
}
More information about the cfe-commits
mailing list