[all-commits] [llvm/llvm-project] 9d315b: [clang][driver][clang-cl] Fix unused argument warn...

Sharadh Rajaraman via All-commits all-commits at lists.llvm.org
Wed Aug 7 19:00:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d315bc45f2bb04333b1dd9d06d1f49d981b8283
      https://github.com/llvm/llvm-project/commit/9d315bc45f2bb04333b1dd9d06d1f49d981b8283
  Author: Sharadh Rajaraman <r.sharadh at outlook.sg>
  Date:   2024-08-08 (Thu, 08 Aug 2024)

  Changed paths:
    M clang/lib/Driver/Types.cpp
    M clang/test/Driver/cl-cxx20-modules.cppm

  Log Message:
  -----------
  [clang][driver][clang-cl] Fix unused argument warning for `/std:c++20` for precompiled module inputs to `clang-cl` (#99300)

Relates to #98761: `-fmodule-file` requires `/std:c++20` or greater, but
passing that option results in an unused argument warning. This resolves
that.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list