[PATCH] D154388: Don't pass -ibuiltininc, which is used only by the driver, to CC1

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 5 12:32:20 PDT 2023


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


================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:1309
+    } else if (A->getOption().matches(options::OPT_ibuiltininc)) {
+      // This is used only by the driver. No no need to pass to cc1.
+      continue;
----------------
Typo: `No need`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154388



More information about the cfe-commits mailing list