[all-commits] [llvm/llvm-project] 224816: Revert "[clang] Move state out of `PreprocessorOpt...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Tue Apr 9 13:27:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2248164a9ab791a3ed1b9586dc340b5303155021
      https://github.com/llvm/llvm-project/commit/2248164a9ab791a3ed1b9586dc340b5303155021
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    M clang/include/clang/Frontend/FrontendActions.h
    M clang/include/clang/Lex/Preprocessor.h
    M clang/include/clang/Lex/PreprocessorOptions.h
    M clang/lib/Frontend/FrontendActions.cpp
    M clang/lib/Lex/PPLexerChange.cpp
    M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
    R clang/test/ClangScanDeps/modules-extension.c
    A clang/test/ClangScanDeps/modules-minimize-extension.c
    A clang/test/ClangScanDeps/modules-minimize-module.c
    M clang/unittests/Lex/PPDependencyDirectivesTest.cpp

  Log Message:
  -----------
  Revert "[clang] Move state out of `PreprocessorOptions` (1/n) (#86358)"

This reverts commit 407a2f23 which stopped propagating the callback to module compiles, effectively disabling dependency directive scanning for all modular dependencies. Also added a regression test.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list