[all-commits] [llvm/llvm-project] 509223: [clang][deps] Further canonicalize implicit module...

Ben Langmuir via All-commits all-commits at lists.llvm.org
Wed Jun 15 13:30:08 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 509223da61145c3eb982751cba9ab6ddf0f48e9d
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2022-06-15 (Wed, 15 Jun 2022)

  Changed paths:
    M clang/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp
    M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
    M clang/test/ClangScanDeps/Inputs/removed-args/cdb.json.template
    M clang/test/ClangScanDeps/removed-args.c

  Log Message:
  [clang][deps] Further canonicalize implicit modules options in dep scan

Disable or canonicalize compiler options that are not relevant in
explicit module builds, similar to what we already did for the modules
cache path. This reduces uninteresting differences between
command-lines, which is particularly useful if there is a tool that can
cache the compilations.

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

More information about the All-commits mailing list