[all-commits] [llvm/llvm-project] 6da811: [clang][deps] Reset non-modular language and prepr...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Wed Aug 25 23:43:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6da811fd5c7158eecaf25f0e417131f2e7dfb35f
      https://github.com/llvm/llvm-project/commit/6da811fd5c7158eecaf25f0e417131f2e7dfb35f
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2021-08-26 (Thu, 26 Aug 2021)

  Changed paths:
    M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
    A clang/test/ClangScanDeps/Inputs/removed-args/cdb.json.template
    A clang/test/ClangScanDeps/Inputs/removed-args/header.h
    A clang/test/ClangScanDeps/Inputs/removed-args/mod_header.h
    A clang/test/ClangScanDeps/Inputs/removed-args/mod_tu.h
    A clang/test/ClangScanDeps/Inputs/removed-args/module.modulemap
    A clang/test/ClangScanDeps/Inputs/removed-args/tu.c
    A clang/test/ClangScanDeps/removed-args.c

  Log Message:
  -----------
  [clang][deps] Reset non-modular language and preprocessor options

There are a number of language and preprocessor options that are reset in the `CompilerInvocation` that describes the build of an implicit module. This patch uses the logic for explicit modules as well.

Reviewed By: dexonsmith

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




More information about the All-commits mailing list