<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/96247>96247</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            clang-tidy bug FAILED: bin/CTTestTidyModule.dll 
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-tidy
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          trcrsired
      </td>
    </tr>
</table>

<pre>
    ```
[6799/6885] Linking CXX shared module bin/CTTestTidyModule.dll
FAILED: bin/CTTestTidyModule.dll 
: && /home/cqwrteur/toolchains/llvm/x86_64-pc-linux-gnu/bin/clang++ --target=x86_64-windows-gnu --sysroot=/home/cqwrteur/toolchains/llvm/sysroots/x86_64-windows-gnu/x86_64-windows-gnu -rtlib=compiler-rt -fuse-ld=lld -stdlib=libc++ -lc++abi -Wno-unused-command-line-argument -lunwind -stdlib=libc++ -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -ffunction-sections -fdata-sections -flto=thin -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG  -stdlib=libc++ -fuse-ld=lld -Wl,--gc-sections -shared -o bin/CTTestTidyModule.dll -Wl,--major-image-version,0,--minor-image-version,0 tools/clang/tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.obj -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && :
ld.lld: error: undefined symbol: clang::ASTNodeKind::isBaseOf(clang::ASTNodeKind) const
>>> referenced by /home/cqwrteur/toolchains_build/llvm-project/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
>>> tools/clang/tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.obj

ld.lld: error: undefined symbol: clang::ast_matchers::internal::DynTypedMatcher::constructVariadic(clang::ast_matchers::internal::DynTypedMatcher::VariadicOperator, clang::ASTNodeKind, std::__1::vector<clang::ast_matchers::internal::DynTypedMatcher, std::__1::allocator<clang::ast_matchers::internal::DynTypedMatcher>>)
>>> referenced by /home/cqwrteur/toolchains_build/llvm-project/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
>>> tools/clang/tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.obj

ld.lld: error: undefined symbol: clang::ast_matchers::internal::DynTypedMatcher::trueMatcher(clang::ASTNodeKind)
>>> referenced by /home/cqwrteur/toolchains_build/llvm-project/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
>>> tools/clang/tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.obj

ld.lld: error: undefined symbol: clang::ast_matchers::internal::DynTypedMatcher::dynCastTo(clang::ASTNodeKind) const
>>> referenced by /home/cqwrteur/toolchains_build/llvm-project/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
>>> tools/clang/tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.obj

ld.lld: error: undefined symbol: llvm::Registry<clang::tidy::ClangTidyModule>::add_node(llvm::Registry<clang::tidy::ClangTidyModule>::node*)
>>> referenced by /home/cqwrteur/toolchains_build/llvm-project/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
>>> tools/clang/tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.obj

ld.lld: error: undefined symbol: clang::tidy::ClangTidyModule::getModuleOptions()
>>> referenced by /home/cqwrteur/toolchains_build/llvm-project/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
>>> tools/clang/tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.obj

ld.lld: error: undefined symbol: clang::tidy::ClangTidyCheckFactories::registerCheckFactory(llvm::StringRef, std::__1::function<std::__1::unique_ptr<clang::tidy::ClangTidyCheck, std::__1::default_delete<clang::tidy::ClangTidyCheck>> (llvm::StringRef, clang::tidy::ClangTidyContext*)>)
>>> referenced by /home/cqwrteur/toolchains_build/llvm-project/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
>>> tools/clang/tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.obj

ld.lld: error: undefined symbol: clang::tidy::ClangTidyCheck::ClangTidyCheck(llvm::StringRef, clang::tidy::ClangTidyContext*)
>>> referenced by /home/cqwrteur/toolchains_build/llvm-project/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
>>> tools/clang/tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.obj

ld.lld: error: undefined symbol: clang::tidy::ClangTidyCheck::run(clang::ast_matchers::MatchFinder::MatchResult const&)
>>> referenced by /home/cqwrteur/toolchains_build/llvm-project/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
>>> tools/clang/tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.obj

ld.lld: error: undefined symbol: clang::ast_matchers::MatchFinder::MatchCallback::getCheckTraversalKind() const
>>> referenced by /home/cqwrteur/toolchains_build/llvm-project/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
>>> tools/clang/tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.obj

ld.lld: error: undefined symbol: clang::ast_matchers::MatchFinder::MatchCallback::~MatchCallback()
>>> referenced by /home/cqwrteur/toolchains_build/llvm-project/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
>>> tools/clang/tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.obj

ld.lld: error: undefined symbol: clang::ast_matchers::MatchFinder::addMatcher(clang::ast_matchers::internal::Matcher<clang::Decl> const&, clang::ast_matchers::MatchFinder::MatchCallback*)
>>> referenced by /home/cqwrteur/toolchains_build/llvm-project/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
>>> tools/clang/tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.obj

ld.lld: error: undefined symbol: clang::ast_matchers::internal::DynTypedMatcher::tryBind(llvm::StringRef) const
>>> referenced by /home/cqwrteur/toolchains_build/llvm-project/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
>>> tools/clang/tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.obj

ld.lld: error: undefined symbol: clang::tidy::ClangTidyCheck::diag(llvm::StringRef, clang::DiagnosticIDs::Level)
>>> referenced by /home/cqwrteur/toolchains_build/llvm-project/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
>>> tools/clang/tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.obj

ld.lld: error: undefined symbol: clang::DiagnosticsEngine::EmitCurrentDiagnostic(bool)
>>> referenced by /home/cqwrteur/toolchains_build/llvm-project/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
>>> tools/clang/tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.obj

ld.lld: error: undefined symbol: vtable for clang::tidy::ClangTidyCheck
>>> referenced by /home/cqwrteur/toolchains_build/llvm-project/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
>>> tools/clang/tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.obj
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[6800/6885] Linking CXX executable bin/dexp.exe
ninja: build stopped: subcommand failed.
cp: target '/home/cqwrteur/toolchains/llvm/sysroots/x86_64-windows-gnu/llvm/x86_64-windows-gnu/lib/clang/19/': No such file or directory
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzsWs9v4zru_2uUi6AilZs0OeSQJs0XD9_5Aczrbt-tkC3a4VSWPBKVNnvYv30h23lpZtNp8abbeYcARW1TIkXyQ9KUIxUCVhZgxkZXbLQcqEhr52fkCx_Qgx7kTm9nbDzs_4ZLNpyz0dX4cjplcjWeTEZstOQf0N6jrfjijz94WCsPmtdORwM8R8vkanFzA4FuUG8_tuQzbUwnazX_7cP1kmXzH8zk_bLZnDM5ZnLMmVytXQ1MropvD54geiZX5Jwp1gptYHJlzKZmcvU4Gd-NL0RTCIM2PorKRiZX3VKFUbZi8orJKy4EKV8BsWzZszyg1e4hJA4uRNgG71wafvXSPUvYa_FE5FEiF54M5ixbFq5u0IAXnrgoYwBhNMuWxmguAuluksG82Klv-juVIxe31oloYwAtClfXyupkPQjlq1iDJS5MtGndZ4SVGwyYo0HaCrSJNYg1ag2Wi1vw3nmWLbUiEIQ1PKFFW0XlNWihNgqN6mVYeODiVhmTpj6SVwcqNsqrGgg8F7cPHglEII-2ClzcFiqQ-BZV4qwxBLSVKBGMFmiRUBn8F_jARQNaWcKiE2ycrdp_SUJn1HSSXNEoEq0CIkCdHIV1Y7BAEqUyhtbexWqdmNwGPGgRHpCKtdBQqmioE24dPBbQkKBtAy3Jig16isoITS5ZocEAgTgyEmJVQSCR5HvUib8zVhTObsAHdLYz1YDSiY5WgyVF3UBBSotabXMQ0YbYNM4TaC7KMtoizREB2mvgotSK1NNnQ45lS1qj5aK0ro2NVmrSxjiVcOv17U2FQAnLZEiyNnDxOeNi-Wl5ffWP_-PPRc9huN4aJhdCVMUTVfoSIdyPkn7HWauvzgusVQWidxGTi2E3hvbYGE_5GPYpvto9t-CnZwiU1v2o7m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