[all-commits] [llvm/llvm-project] 3b4500: [Driver] Replace err_invalid_branch_protection wit...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri May 27 22:28:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b4500014a481f0de300f42e1e59a8137d136ed1
      https://github.com/llvm/llvm-project/commit/3b4500014a481f0de300f42e1e59a8137d136ed1
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-05-27 (Fri, 27 May 2022)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/aarch64-security-options.c
    M clang/test/Driver/arm-security-options.c

  Log Message:
  -----------
  [Driver] Replace err_invalid_branch_protection with err_drv_unsupported_option_argument

The convention is to use err_drv_unsupported_option_argument instead of adding a
new diagnostic for every option.




More information about the All-commits mailing list