From: Kristof Umann Date: Fri, 14 Sep 2018 11:20:16 +0000 (+0000) Subject: [analyzer] Attempt to make a windows buildbot happy. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f44d2b4e1378c65fddbdea93798c1344550e811b;p=clang [analyzer] Attempt to make a windows buildbot happy. 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 --- diff --git a/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp b/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp index 7669ac510f..4f95f09cc0 100644 --- a/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp +++ b/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp @@ -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(this->ptr)'}}