Do not stipulate the record type is a definition in BindStruct().

llvm-svn: 66654
diff --git a/clang/lib/Analysis/RegionStore.cpp b/clang/lib/Analysis/RegionStore.cpp
index 8838211..84523dc 100644
--- a/clang/lib/Analysis/RegionStore.cpp
+++ b/clang/lib/Analysis/RegionStore.cpp
@@ -1129,7 +1129,9 @@
 
   RecordType* RT = cast<RecordType>(T.getTypePtr());
   RecordDecl* RD = RT->getDecl();
-  assert(RD->isDefinition());
+
+  if (!RD->isDefinition())
+    return St;
 
   if (V.isUnknown())
     return KillStruct(St, R);