Fix PR2400 by more graceful handling of invalid decls.  Don't try to layout
an invalid struct decl.  Thanks to Martin Doucha for the 
isIncompleteArrayType part of this patch.

llvm-svn: 54592
3 files changed
tree: a45699afc7bf682272b1a5b0ed7eddd858392e54
  1. clang/
  2. llvm/