[LLVMbugs] [Bug 23987] New: -Wnullability-completeness broken for templated types
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jun 29 13:13:14 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23987
Bug ID: 23987
Summary: -Wnullability-completeness broken for templated types
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: b17c0de at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Consider the following code in a header:
_Pragma("clang assume_nonnull begin")
template <typename T>
inline void f(T x) {}
_Pragma("clang assume_nonnull end")
This gives the following bogus warning:
./nullability.h:3:15: warning: pointer is missing a nullability type
specifier (__nonnull or __nullable) [-Wnullability-completeness]
--
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/20150629/063e445c/attachment.html>
More information about the llvm-bugs
mailing list