[PATCH] D118311: [Clang][ModuleMap] Add conditional parsing via requires block declaration

Ian Anderson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 1 17:34:45 PST 2022


iana added inline comments.


================
Comment at: clang/include/clang/Basic/Module.h:249
+  /// language options has the given feature.
+  static bool hasFeature(StringRef Feature, const LangOptions &LangOpts,
+                         const TargetInfo &Target);
----------------
Is `static` correct? (Sorry I know very little about C++)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118311



More information about the cfe-commits mailing list