[analyzer] Attempt to make a windows buildbot happy.
authorKristof Umann <dkszelethus@gmail.com>
Fri, 14 Sep 2018 11:20:16 +0000 (11:20 +0000)
committerKristof Umann <dkszelethus@gmail.com>
Fri, 14 Sep 2018 11:20:16 +0000 (11:20 +0000)
Got an error that a cast is happening from a pointer type to long, which is
smaller.

llvm-svn: 342223

clang/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp

index 7669ac5..4f95f09 100644 (file)
@@ -25,7 +25,7 @@ void fConcreteIntLocTest() {
 // nonloc::LocAsInteger tests.
 //===----------------------------------------------------------------------===//
 
-using intptr_t = long;
+using intptr_t = unsigned long long;
 
 struct LocAsIntegerTest {
   intptr_t ptr; // expected-note{{uninitialized pointee 'reinterpret_cast<char *>(this->ptr)'}}