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: unassignedclangb...@nondot.org Reporter: cost...@gmail.com CC: llvmbugs@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.
_______________________________________________ LLVMbugs mailing list LLVMbugs@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs