summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_allocator.h
diff options
context:
space:
mode:
authorEdwin Vane <edwin.vane@intel.com>2013-03-06 14:51:34 +0000
committerEdwin Vane <edwin.vane@intel.com>2013-03-06 14:51:34 +0000
commit105963d17ca84733f5f4d3052a916d18f302b080 (patch)
treedb278c726b79c535b182a9fcc6bdfb6de78fcb31 /compiler-rt/lib/sanitizer_common/sanitizer_allocator.h
parenta1c0a2a2c649e7c1db1c62632bb0598c9bf66b71 (diff)
downloadbcm5719-llvm-105963d17ca84733f5f4d3052a916d18f302b080.tar.gz
bcm5719-llvm-105963d17ca84733f5f4d3052a916d18f302b080.zip
Fixed Use-Nullptr when replacing return(0)
Before fix, the paren expression was being replaced resulting in returnnullptr. ParenExpr and implicit casts now ignored so we get return(nullptr) instead. Added new test cases. Fixes PR15398 Author: Ariel Bernal <ariel.j.bernal@intel.com> llvm-svn: 176551
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_allocator.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud