]> granicus.if.org Git - clang/commitdiff
Added comments to test case.
authorZhongxing Xu <xuzhongxing@gmail.com>
Wed, 29 Apr 2009 05:59:48 +0000 (05:59 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Wed, 29 Apr 2009 05:59:48 +0000 (05:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70374 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/casts.c

index eb85231802c754e9c1a655a08504682ecb24793f..94a1eac0a316a84d81874d0959ce6cf3ad2a29a5 100644 (file)
@@ -1,5 +1,8 @@
 // RUN: clang-cc -analyze -checker-cfref -analyzer-store=region --verify %s
 
+// Test if the 'storage' region gets properly initialized after it is cast to
+// 'struct sockaddr *'. 
+
 #include <sys/socket.h>
 void f(int sock) {
   struct sockaddr_storage storage;