projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bbdfea
)
Fix test to pass on LLP64 targets
author
Reid Kleckner
<rnk@google.com>
Sun, 10 Feb 2019 20:20:26 +0000
(20:20 +0000)
committer
Reid Kleckner
<rnk@google.com>
Sun, 10 Feb 2019 20:20:26 +0000
(20:20 +0000)
llvm-svn: 353654
clang/test/Analysis/osobjectcstylecastchecker_test.cpp
patch
|
blob
|
history
diff --git
a/clang/test/Analysis/osobjectcstylecastchecker_test.cpp
b/clang/test/Analysis/osobjectcstylecastchecker_test.cpp
index
bc9fb3e
..
07f878c
100644
(file)
--- a/
clang/test/Analysis/osobjectcstylecastchecker_test.cpp
+++ b/
clang/test/Analysis/osobjectcstylecastchecker_test.cpp
@@
-28,8
+28,8
@@
unsigned no_warn_on_dynamic_cast(OSObject *obj) {
return a->getCount();
}
-
unsigned long
no_warn_on_primitive_conversion(OSArray *arr) {
- return (
unsigned long
) arr;
+
__SIZE_TYPE__
no_warn_on_primitive_conversion(OSArray *arr) {
+ return (
__SIZE_TYPE__
) arr;
}
unsigned no_warn_on_other_type_cast(A *a) {