[all-commits] [llvm/llvm-project] 876bf5: [clang-cl] Add parsing support for a bunch of new ...

Hans via All-commits all-commits at lists.llvm.org
Mon May 3 05:00:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 876bf516e7d4bba615da6cf791372fb36fc8f947
      https://github.com/llvm/llvm-project/commit/876bf516e7d4bba615da6cf791372fb36fc8f947
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2021-05-03 (Mon, 03 May 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/test/Driver/cl-options.c

  Log Message:
  -----------
  [clang-cl] Add parsing support for a bunch of new flags

MSVC has added some new flags. Although they're not supported, this adds
parsing support for them so clang-cl doesn't treat them as filenames.

Except for /fsanitize=address which we do support. (clang-cl already
exposes the -fsanitize= option, but this allows using the
MSVC-spelling with a slash.)

Differential revision: https://reviews.llvm.org/D101439




More information about the All-commits mailing list