[LLVMbugs] [Bug 13793] New: ValueHandleTest.cpp:277:7: warning: passing NULL to non-pointer argument
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Sep 7 12:35:05 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13793
Bug #: 13793
Summary: ValueHandleTest.cpp:277:7: warning: passing NULL to
non-pointer argument
Product: Test Suite
Version: 2.9
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Programs Tests
AssignedTo: unassignedbugs at nondot.org
ReportedBy: bug.llvm at yopmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
llvm[2]: Compiling ValueHandleTest.cpp for Release build
if i686-pc-linux-gnu-g++
-I/var/tmp/portage/sys-devel/llvm-2.9-r2/work/llvm-2.9/include
-I/var/tmp/portage/sys-devel/llvm-2.9-r2/work/llvm-2.9/unittests/Support
-DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
-I/var/tmp/portage/sys-devel/llvm-2.9-r2/work/llvm-2.9/utils/unittest/googletest/include
-Wno-missing-field-initializers -Wno-variadic-macros -DGTEST_HAS_RTTI=0
-DGTEST_USE_OWN_TR1_TUPLE -fno-exceptions -fPIC -Woverloaded-virtual
-Wcast-qual -march=i686 -mmmx -msse -msse2 -msse3 -O2 -pipe
-fomit-frame-pointer -I/usr/lib/libffi-3.0.11/include -pedantic
-Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -c -MMD -MP -MF
"/var/tmp/portage/sys-devel/llvm-2.9-r2/work/llvm-2.9/unittests/Support/Release/ValueHandleTest.d.tmp"
-MT
"/var/tmp/portage/sys-devel/llvm-2.9-r2/work/llvm-2.9/unittests/Support/Release/ValueHandleTest.o"
-MT
"/var/tmp/portage/sys-devel/llvm-2.9-r2/work/llvm-2.9/unittests/Support/Release/ValueHandleTest.d"
ValueHandleTest.cpp -o
/var/tmp/portage/sys-devel/llvm-2.9-r2/work/llvm-2.9/unittests/Support/Release/ValueHandleTest.o
; \
then /bin/mv -f
"/var/tmp/portage/sys-devel/llvm-2.9-r2/work/llvm-2.9/unittests/Support/Release/ValueHandleTest.d.tmp"
"/var/tmp/portage/sys-devel/llvm-2.9-r2/work/llvm-2.9/unittests/Support/Release/ValueHandleTest.d";
else /bin/rm
"/var/tmp/portage/sys-devel/llvm-2.9-r2/work/llvm-2.9/unittests/Support/Release/ValueHandleTest.d.tmp";
exit 1; fi
ValueHandleTest.cpp: In member function 'virtual
void<unnamed>::ValueHandle_CallbackVH_CallbackOnRAUW_Test::TestBody()::RecordingVH::allUsesReplacedWith(llvm::Value*)':
ValueHandleTest.cpp:277:7: warning: passing NULL to non-pointer argument 3 of
'static testing::AssertionResult
testing::internal::EqHelper<true>::Compare(const char*, const char*, const T1&,
T2*) [with T1 = int, T2 = llvm::Value]'
ValueHandleTest.cpp:277:7: warning: passing NULL to non-pointer argument 3 of
'static testing::AssertionResult
testing::internal::EqHelper<true>::Compare(const char*, const char*, const T1&,
T2*) [with T1 = int, T2 = llvm::Value]'
ValueHandleTest.cpp: In member function 'virtual
void<unnamed>::ValueHandle_CallbackVH_CallbackOnRAUW_Test::TestBody()':
ValueHandleTest.cpp:285:3: warning: passing NULL to non-pointer argument 3 of
'static testing::AssertionResult
testing::internal::EqHelper<true>::Compare(const char*, const char*, const T1&,
T2*) [with T1 = int, T2 = llvm::Value]'
ValueHandleTest.cpp:285:3: warning: passing NULL to non-pointer argument 3 of
'static testing::AssertionResult
testing::internal::EqHelper<true>::Compare(const char*, const char*, const T1&,
T2*) [with T1 = int, T2 = llvm::Value]'
ValueHandleTest.cpp: In member function 'virtual
void<unnamed>::ValueHandle_CallbackVH_DeletionCanRAUW_Test::TestBody()::RecoveringVH::allUsesReplacedWith(llvm::Value*)':
ValueHandleTest.cpp:312:7: warning: passing NULL to non-pointer argument 3 of
'static testing::AssertionResult
testing::internal::EqHelper<true>::Compare(const char*, const char*, const T1&,
T2*) [with T1 = int, T2 = llvm::Value]'
ValueHandleTest.cpp:312:7: warning: passing NULL to non-pointer argument 3 of
'static testing::AssertionResult
testing::internal::EqHelper<true>::Compare(const char*, const char*, const T1&,
T2*) [with T1 = int, T2 = llvm::Value]'
ValueHandleTest.cpp: In member function 'virtual
void<unnamed>::ValueHandle_DestroyingOtherVHOnSameValueDoesntBreakIteration_Test::TestBody()':
ValueHandleTest.cpp:375:5: warning: passing NULL to non-pointer argument 3 of
'static testing::AssertionResult
testing::internal::EqHelper<true>::Compare(const char*, const char*, const T1&,
T2*) [with T1 = int, T2 = llvm::Value]'
ValueHandleTest.cpp:375:5: warning: passing NULL to non-pointer argument 3 of
'static testing::AssertionResult
testing::internal::EqHelper<true>::Compare(const char*, const char*, const T1&,
T2*) [with T1 = int, T2 = llvm::Value]'
ValueHandleTest.cpp:376:5: warning: passing NULL to non-pointer argument 3 of
'static testing::AssertionResult
testing::internal::EqHelper<true>::Compare(const char*, const char*, const T1&,
T2*) [with T1 = int, T2 = llvm::Value]'
ValueHandleTest.cpp:376:5: warning: passing NULL to non-pointer argument 3 of
'static testing::AssertionResult
testing::internal::EqHelper<true>::Compare(const char*, const char*, const T1&,
T2*) [with T1 = int, T2 = llvm::Value]'
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list