[all-commits] [llvm/llvm-project] 3d157c: [clang] Add a -canonical-prefixes option

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Sep 1 11:51:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d157cfcc4ef2b4e09a36d3249c960d0a4099ca7
      https://github.com/llvm/llvm-project/commit/3d157cfcc4ef2b4e09a36d3249c960d0a4099ca7
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-09-01 (Wed, 01 Sep 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/Driver.cpp
    M clang/test/Driver/no-canonical-prefixes.c
    M clang/tools/driver/driver.cpp

  Log Message:
  -----------
  [clang] Add a -canonical-prefixes option

In https://reviews.llvm.org/D47480 I complained that there's no positive
form of this flag, so let's add one :)

https://gcc.gnu.org/PR29931 also has a pending patch to add the positive
form to gcc (but there's admittedly not a lot of movement on that bug).

This doesn't change any defaults.

Differential Revision: https://reviews.llvm.org/D108818




More information about the All-commits mailing list