]> granicus.if.org Git - clang/commitdiff
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342223 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 7669ac510f19e62d1094a9e68e2e5013daeb067a..4f95f09cc0a147bb0fec70e3aefa0039eaaddaa5 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)'}}