Commit afaf7f81 authored by Andreas Gampe's avatar Andreas Gampe
Browse files

ART: Enable bugprone-unused-return-value

Enable bugprone-unused-return-value as an error. This is on top of
the compiler warning for attribute((warn_unused)).

Mark the current occurrences (all unique_ptr.release()) with NOLINT
to signal that we know what we're doing.

Bug: 32619234
Bug: 117926937
Test: WITH_TIDY=1 mmma art
Change-Id: I36659722335eef36acfa5845289104257a393874
parent 6ca8ec78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment