[all-commits] [llvm/llvm-project] 9833b5: [clang][driver] Add -foperator-names

zero9178 via All-commits all-commits at lists.llvm.org
Thu Jun 10 08:02:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9833b57981c4e9402a326b5acd805e074cd2c802
      https://github.com/llvm/llvm-project/commit/9833b57981c4e9402a326b5acd805e074cd2c802
  Author: Markus Böck <markus.boeck02 at gmail.com>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    A clang/test/Driver/cxx-operator-names.cpp

  Log Message:
  -----------
  [clang][driver] Add -foperator-names

This patch adds the command line option -foperator-names which acts as the opposite of -fno-operator-names. With this command line option it is possible to reenable C++ operator keywords on the command line if -fno-operator-names had previously been passed.

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




More information about the All-commits mailing list