[PATCH] D39913: [ObjC] warn about availability attributes missing from a method's declaration when they're specified for a method's definition
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 13 19:34:19 PST 2017
ahatanak added a comment.
Is it not necessary to print a diagnostic when a non-member function declaration is missing an availability attribute?
void foo1();
__attribute__((availability(macos, introduced=10.1)))
void foo1() {
}
Repository:
rL LLVM
https://reviews.llvm.org/D39913
More information about the cfe-commits
mailing list