[LLVMbugs] [Bug 24219] New: Invalid "missing sentinel" warning for variadic methods with non-id parameter type
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jul 22 11:55:10 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24219
Bug ID: 24219
Summary: Invalid "missing sentinel" warning for variadic
methods with non-id parameter type
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: costinc at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 14631
--> https://llvm.org/bugs/attachment.cgi?id=14631&action=edit
sentinel.m
When adding "__attribute__((sentinel(0,1)))" to a variadic method with
parameter type anything other than id or void*, for instance int or void(^)(),
a "missing sentinel in method dispatch" warning is raised.
I've attached a source file that reproduces this. Compile with:
clang -fblocks -fsyntax-only sentinel.m
--
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/20150722/866df3c4/attachment.html>
More information about the llvm-bugs
mailing list