This avoids the -Wstrict-prototypes warning for block literals with an empty or without argument lists.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D28296
[ObjC] The declarator for a block literal should be a definition ClosedPublic Authored by arphaman on Jan 4 2017, 9:02 AM.
Details Summary This avoids the -Wstrict-prototypes warning for block literals with an empty or without argument lists.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 5 2017, 11:52 PM Closed by commit rL291231: [ObjC] The declarator for a block literal should be a definition (authored by arphaman). · Explain WhyJan 6 2017, 3:42 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 83355 cfe/trunk/lib/Parse/ParseExpr.cpp
cfe/trunk/test/Sema/warn-strict-prototypes.m
cfe/trunk/test/SemaObjC/block-omitted-return-type.m
|