git: 5058d2491bf9 - stable/12 - Put clang/lib/Tooling/Core/Replacement.cpp under SRCS_MIN, since it is required by both the static analyzer (MK_CLANG_FULL) and clang-format (MK_CLANG_FORMAT). We could also invent yet another SRCS variant, but that seems a bit overkill.

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Wed, 22 Dec 2021 10:05:52 UTC
The branch stable/12 has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=5058d2491bf9de389d1719ca323cf16fb7160233

commit 5058d2491bf9de389d1719ca323cf16fb7160233
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2020-08-06 20:55:18 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2021-12-22 09:58:26 +0000

    Put clang/lib/Tooling/Core/Replacement.cpp under SRCS_MIN, since it is
    required by both the static analyzer (MK_CLANG_FULL) and clang-format
    (MK_CLANG_FORMAT). We could also invent yet another SRCS variant, but
    that seems a bit overkill.
    
    (cherry picked from commit 20885331a952aaa0c24fb2530215fb8193082e1c)
---
 lib/clang/libclang/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/clang/libclang/Makefile b/lib/clang/libclang/Makefile
index 414394725ca8..93af97a9a3b8 100644
--- a/lib/clang/libclang/Makefile
+++ b/lib/clang/libclang/Makefile
@@ -698,7 +698,7 @@ SRCS_MIN+=	Tooling/ArgumentsAdjusters.cpp
 SRCS_MIN+=	Tooling/CommonOptionsParser.cpp
 SRCS_MIN+=	Tooling/CompilationDatabase.cpp
 SRCS_MIN+=	Tooling/Core/Lookup.cpp
-SRCS_EXT+=	Tooling/Core/Replacement.cpp
+SRCS_MIN+=	Tooling/Core/Replacement.cpp
 SRCS_MIN+=	Tooling/FileMatchTrie.cpp
 SRCS_EXT+=	Tooling/Inclusions/HeaderIncludes.cpp
 SRCS_EXT+=	Tooling/Inclusions/IncludeStyle.cpp