[all-commits] [llvm/llvm-project] 22c685: [clang][deps] Skip writing `DIAG_PRAGMA_MAPPINGS` ...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Fri Nov 10 07:04:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22c68511acd61936f13843b33fbcf94bc3dd066d
      https://github.com/llvm/llvm-project/commit/22c68511acd61936f13843b33fbcf94bc3dd066d
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2023-11-10 (Fri, 10 Nov 2023)

  Changed paths:
    M clang/include/clang/Lex/HeaderSearchOptions.h
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp

  Log Message:
  -----------
  [clang][deps] Skip writing `DIAG_PRAGMA_MAPPINGS` record (#70874)

Following up on #69975, this patch skips writing `DIAG_PRAGMA_MAPPINGS`
as well. Deserialization of this PCM record is still showing up in
profiles, since it needs to be VBR-decoded for every transitively loaded
PCM file.

The scanner doesn't make any guarantees about diagnostic accuracy (and
it even disables all warnings), so skipping this record should be safe.




More information about the All-commits mailing list