[all-commits] [llvm/llvm-project] 916049: Properly pass modules flags to frontend when using...

Richard Smith via All-commits all-commits at lists.llvm.org
Mon Aug 24 17:50:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 91604949ef2fc8401d17a31362c46c310d5550b6
      https://github.com/llvm/llvm-project/commit/91604949ef2fc8401d17a31362c46c310d5550b6
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-08-24 (Mon, 24 Aug 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/cl-options.c
    M clang/test/Driver/modules.cpp

  Log Message:
  -----------
  Properly pass modules flags to frontend when using -std=c++20 instead of -std=c++2a.

In passing, also teach the driver to map /std:c++latest to -std=c++20
not -std=c++2a.




More information about the All-commits mailing list