aboutsummaryrefslogtreecommitdiff
path: root/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-07-30 00:14:11 +0000
committerTed Kremenek <kremenek@apple.com>2010-07-30 00:14:11 +0000
commit3ce9e7d270e7df86c09c8126b4412d55be7c123b (patch)
tree5f048802b35fa9087afcd7cfc45aab0e4ccde273 /tools/c-index-test/c-index-test.c
parent6633e3c5b33c10ebfc5a369e412bb3d3f2cb3899 (diff)
Add clang_isPODType() for querying if the CXType is POD. Implements <rdar://problem/8250669>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109822 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/c-index-test/c-index-test.c')
-rw-r--r--tools/c-index-test/c-index-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c
index b8d4cb8917..795c19c0cb 100644
--- a/tools/c-index-test/c-index-test.c
+++ b/tools/c-index-test/c-index-test.c
@@ -487,6 +487,8 @@ static enum CXChildVisitResult PrintTypeKind(CXCursor cursor, CXCursor p,
clang_disposeString(RS);
}
}
+ /* Print if this is a non-POD type. */
+ printf(" [isPOD=%d]", clang_isPODType(T));
printf("\n");
}