[PATCH] D51910: [Modules] Add platform feature to requires clause

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 17 20:26:40 PDT 2018


rsmith accepted this revision.
rsmith added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lib/Basic/Module.cpp:81
+  // 2, Environment
+  // 3. Platform-Environment
+  if (Platform == Feature || Target.getTriple().getOSName() == Feature ||
----------------
Comment is out of date.


https://reviews.llvm.org/D51910





More information about the cfe-commits mailing list