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: unassignedclangb...@nondot.org Reporter: nicolaswe...@gmx.de CC: llvm-bugs@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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs