[clang] [analyzer] Add an option to support unity-builds in CSA (PR #242339)
Arseniy Zaostrovnykh via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 16 02:47:59 PST 2026
================
@@ -3297,18 +3297,21 @@ BugReporter::generateDiagnosticForConsumerMap(
static PathDiagnosticCallPiece *
getFirstStackedCallToHeaderFile(PathDiagnosticCallPiece *CP,
- const SourceManager &SMgr) {
+ const SourceManager &SMgr,
+ ArrayRef<StringRef> UnityBuildFileExtensions) {
----------------
necto wrote:
I changed my mind after @balazske feedback. Given both Balázs' find it more ergonomic to not expose the `UnityBuildFileExtensions`, so be it:
e7ae092fc7c4 [NFC] Hide UnityBuildFileExtensions field, remove isInCodeFile overload
https://github.com/llvm/llvm-project/pull/242339
More information about the cfe-commits
mailing list