[llvm-bugs] [Bug 25129] New: Wnonnull for ObjC message expressions should point at correct argument
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Oct 9 13:32:43 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=25129
Bug ID: 25129
Summary: Wnonnull for ObjC message expressions should point at
correct argument
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: nicolasweber at gmx.de
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
I'm getting this diagnostic:
../../device/bluetooth/test/bluetooth_test_mac.mm:124:33: error: null passed to
a callee that requires a non-null argument [-Werror,-Wnonnull]
[central_manager_delegate centralManager:central_manager
^
The call looks like so:
[central_manager_delegate centralManager:central_manager
didDiscoverPeripheral:peripheral
advertisementData:advertisement_data
RSSI:0];
It'd be cool if the diagnostic could point at the RSSI: (where 0 is passed)
instead.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151009/36f610e8/attachment.html>
More information about the llvm-bugs
mailing list