[all-commits] [llvm/llvm-project] 82f75e: [Driver] Ignore non-clang pch files when -include ...
Hans via All-commits
all-commits at lists.llvm.org
Tue Oct 24 05:03:28 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 82f75ed5997c317350b539dc185f5dbe2ec197a3
https://github.com/llvm/llvm-project/commit/82f75ed5997c317350b539dc185f5dbe2ec197a3
Author: Hans <hans at hanshq.net>
Date: 2023-10-24 (Tue, 24 Oct 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/lib/Driver/ToolChains/Clang.cpp
A clang/test/PCH/Inputs/gch-probe.h
A clang/test/PCH/Inputs/gch-probe.h.gch
A clang/test/PCH/gch-probe.c
M clang/test/PCH/pch-dir.c
Log Message:
-----------
[Driver] Ignore non-clang pch files when -include a.h probes a.h.gch (#69204)
Instead of deprecating the "gch probe" as in
f726da1193baf51e0a66453cc32dcffb8a9121d4, this makes clang ignore files
which are not clang pch files (See discussion on PR #67084).
This fixes the issues mentioned in the former patch, with GCC-generated
.gch files getting in the way when using clang, while maintaining the
probing behavior for builds which rely on that.
More information about the All-commits
mailing list