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

Sorry for me being dense here - since the output format is determined by input 
source code there's more work to do.

I tried to change format of introduced version in couple of tests and the 
output mirrors the change. That basically means that whenever someone uses 
underscore

  __attribute__((availability(macosx, introduced = 10_12)))

instead of dot

  __attribute__((availability(macosx, introduced = 10.12)))

Warnings and FixIts get underscore as well.

I am now thinking about just switching to dot format in 
ParseAvailabilityAttribute() because it's much simpler to maintain consistency 
that way.


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