Add some invalid-decl checks to clang_Type_getOffsetOf.
authorMatt Beaumont-Gay <matthewbg@google.com>
Mon, 24 Jun 2013 16:12:35 +0000 (16:12 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Mon, 24 Jun 2013 16:12:35 +0000 (16:12 +0000)
commit4cd3c9adf93715720153cc6fedf0cb0cc7583170
tree0abf5e5dfdc60136edc5f65d404f6929e95e88f9
parentb64e776268474296a7e79886d6dc6b0059beec91
Add some invalid-decl checks to clang_Type_getOffsetOf.

print-size-type.cpp was checking for specific record layout output for invalid
decls; I've removed the checks but left the records as tests for not crashing.

llvm-svn: 184751
clang/test/Index/print-type-size.cpp
clang/tools/libclang/CXType.cpp