[all-commits] [llvm/llvm-project] 871112: [clang][deps] Migrate ModuleDepCollector to LexedF...

Ben Langmuir via All-commits all-commits at lists.llvm.org
Thu Feb 9 11:43:30 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8711120e8bcf891f3c316e20869493e93472f200
      https://github.com/llvm/llvm-project/commit/8711120e8bcf891f3c316e20869493e93472f200
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

  Changed paths:
    M clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
    M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
    A clang/test/ClangScanDeps/line-directive.c

  Log Message:
  -----------
  [clang][deps] Migrate ModuleDepCollector to LexedFileChanged NFCI

LexedFileChanged has the semantics we want of ignoring #line/etc. It's
also consistent with other dep collectors like DependencyFileGenerator.

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




More information about the All-commits mailing list