[all-commits] [llvm/llvm-project] 1e760b: [clang][deps] Use correct DiagnosticOptions for co...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Fri Sep 10 04:44:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e760b5902615c38079948f31a96724a88a75dd8
      https://github.com/llvm/llvm-project/commit/1e760b5902615c38079948f31a96724a88a75dd8
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
    M clang/include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h
    M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp

  Log Message:
  -----------
  [clang][deps] Use correct DiagnosticOptions for command-line handling

In this patch the dependency scanner starts using proper `DiagnosticOptions` parsed from the actual TU command-line in order to mimic what the actual compiler would do. The actual functionality will be enabled and tested in follow-up patches. (This split is necessary to avoid temporary regression.)

Depends on D108976.

Reviewed By: dexonsmith, arphaman

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




More information about the All-commits mailing list