summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon/HexagonHazardRecognizer.cpp
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@exchange.microsoft.com>2017-01-04 00:53:31 +0000
committerStephan T. Lavavej <stl@exchange.microsoft.com>2017-01-04 00:53:31 +0000
commite01b1eff59c0c444f598289241b76da71efe2655 (patch)
tree849291d16259d98df92522f5daece596afb3bbbf /llvm/lib/Target/Hexagon/HexagonHazardRecognizer.cpp
parent6a6af52ba604a1b837249b211e6d16cbb5ceca45 (diff)
downloadbcm5719-llvm-e01b1eff59c0c444f598289241b76da71efe2655.tar.gz
bcm5719-llvm-e01b1eff59c0c444f598289241b76da71efe2655.zip
[libcxx] [test] Fix recently introduced warnings emitted by MSVC.
These tests were using malloc()'s return value without checking for null, which MSVC's /analyze rightly warns about. Asserting that the pointer is non-null both expresses the test's intention and silences the warning. Fixes D27785. llvm-svn: 290921
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonHazardRecognizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud