summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp
diff options
context:
space:
mode:
authorKristof Umann <dkszelethus@gmail.com>2018-09-14 11:20:16 +0000
committerKristof Umann <dkszelethus@gmail.com>2018-09-14 11:20:16 +0000
commitf1f05b77db288aca62976963c5ce88ea160c2f47 (patch)
treef17ca8bd94636cc0a02bdc56560dec1f71ad4e40 /clang/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp
parent20de3e99b5251fc38adff18ffd55fc98251a2075 (diff)
downloadbcm5719-llvm-f1f05b77db288aca62976963c5ce88ea160c2f47.tar.gz
bcm5719-llvm-f1f05b77db288aca62976963c5ce88ea160c2f47.zip
[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. llvm-svn: 342223
Diffstat (limited to 'clang/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp')
-rw-r--r--clang/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp b/clang/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp
index 7669ac510f1..4f95f09cc0a 100644
--- a/clang/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp
+++ b/clang/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<char *>(this->ptr)'}}
OpenPOWER on IntegriCloud