jkorous planned changes to this revision.
jkorous added a comment.

Sorry, my bad. I tried to get rid of dependency on Foundation.h and didn't 
check the test is relevant for the fix after that.

  #import <Foundation/Foundation.h>
  
  @interface foo
  - (void) method NS_AVAILABLE_MAC(10_12);
  @end
  
  int main() {
      [foo method];
      return 0;
  }

Looks like NS_AVAILABLE_MAC is not equivalent to the attribute.

Interesting question about UsesUnderscores, thanks! It looks like it must be 
set through constructor somewhere - will figure this out.


Repository:
  rC Clang

https://reviews.llvm.org/D46747



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to