[PATCH] D82823: canonicalize macOS 10.16 availability to macOS 11 while preserving uses of if @available macOS 10.16

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 30 05:55:40 PDT 2020


aaron.ballman added inline comments.


================
Comment at: clang/include/clang/AST/ExprObjC.h:1719-1721
+  VersionTuple getVersion() { return VersionToCheck.Version; }
+  VersionTuple getVersionAsWritten() { return VersionToCheck.SourceVersion; }
 
----------------
Any reason these functions aren't marked `const`?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82823/new/

https://reviews.llvm.org/D82823





More information about the cfe-commits mailing list