[all-commits] [llvm/llvm-project] 7b75a3: [Support] ThreadPool tests: silence warning unused...

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Sat Apr 17 11:23:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b75a3a8ebf04b321e07f17aac5bfe9cb7c656d1
      https://github.com/llvm/llvm-project/commit/7b75a3a8ebf04b321e07f17aac5bfe9cb7c656d1
  Author: Alexandre Ganea <alexandre.ganea at ubisoft.com>
  Date:   2021-04-17 (Sat, 17 Apr 2021)

  Changed paths:
    M llvm/unittests/Support/ThreadPool.cpp

  Log Message:
  -----------
  [Support] ThreadPool tests: silence warning unused variable 'It'


  Commit: 488a19d00cbaec479f8c5c298556d2246978f9e6
      https://github.com/llvm/llvm-project/commit/488a19d00cbaec479f8c5c298556d2246978f9e6
  Author: Sylvain Audi <sylvain.audi at ubisoft.com>
  Date:   2021-04-17 (Sat, 17 Apr 2021)

  Changed paths:
    M clang/test/ClangScanDeps/Inputs/regular_cdb.json
    M clang/tools/clang-scan-deps/ClangScanDeps.cpp

  Log Message:
  -----------
  [clang-scan-deps] Support double-dashes in clang command lines

This fixes argument injection in clang command lines, by adding them before "--".

Previously, the arguments were injected at the end of the command line and could be added after "--", which would be wrongly interpreted as input file paths.

This fix is needed for a subsequent patch, see D92191.

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


  Commit: bb26fa8c286bf524ed9235c3e293ad22ecf3e984
      https://github.com/llvm/llvm-project/commit/bb26fa8c286bf524ed9235c3e293ad22ecf3e984
  Author: Sylvain Audi <sylvain.audi at ubisoft.com>
  Date:   2021-04-17 (Sat, 17 Apr 2021)

  Changed paths:
    M clang/test/ClangScanDeps/Inputs/has_include_if_elif.json
    M clang/test/ClangScanDeps/Inputs/header_stat_before_open_cdb.json
    M clang/test/ClangScanDeps/Inputs/headerwithdirname.json
    M clang/test/ClangScanDeps/Inputs/headerwithdirnamefollowedbyinclude.json
    A clang/test/ClangScanDeps/Inputs/modules_cdb_clangcl.json
    M clang/test/ClangScanDeps/Inputs/no-werror.json
    A clang/test/ClangScanDeps/Inputs/regular_cdb_clangcl.json
    M clang/test/ClangScanDeps/Inputs/static-analyzer-cdb.json
    M clang/test/ClangScanDeps/Inputs/strip_diag_serialize.json
    M clang/test/ClangScanDeps/Inputs/target-filename-cdb.json
    M clang/test/ClangScanDeps/Inputs/vfsoverlay_cdb.json
    M clang/test/ClangScanDeps/error.cpp
    M clang/test/ClangScanDeps/has_include_if_elif.cpp
    M clang/test/ClangScanDeps/header_stat_before_open.m
    M clang/test/ClangScanDeps/headerwithdirname.cpp
    M clang/test/ClangScanDeps/headerwithdirnamefollowedbyinclude.cpp
    M clang/test/ClangScanDeps/modules-full.cpp
    M clang/test/ClangScanDeps/modules.cpp
    M clang/test/ClangScanDeps/no-werror.cpp
    M clang/test/ClangScanDeps/regular_cdb.cpp
    M clang/test/ClangScanDeps/static-analyzer.c
    M clang/test/ClangScanDeps/strip_diag_serialize.cpp
    M clang/test/ClangScanDeps/target-filename.cpp
    M clang/test/ClangScanDeps/vfsoverlay.cpp
    M clang/tools/clang-scan-deps/ClangScanDeps.cpp

  Log Message:
  -----------
  [clang-scan-deps] Add support for clang-cl

clang-scan-deps contains some command line parsing and modifications.
This patch adds support for clang-cl command options.

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


Compare: https://github.com/llvm/llvm-project/compare/141945f950e2...bb26fa8c286b


More information about the All-commits mailing list