//===- clang-apply-replacements/ApplyReplacementsTest.cpp //----------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "clang-apply-replacements/Tooling/ApplyReplacements.h" #include "clang/Format/Format.h" #include "gtest/gtest.h" usingnamespaceclang::replace; usingnamespacellvm; namespace clang { namespace tooling { static TUDiagnostics makeTUDiagnostics(const std::string &MainSourceFile, StringRef DiagnosticName, const DiagnosticMessage &Message, const StringMap<Replacements> &Replacements, StringRef BuildDirectory) { … } // Test to ensure diagnostics with no fixes, will be merged correctly // before applying. TEST(ApplyReplacementsTest, mergeDiagnosticsWithNoFixes) { … } } // end namespace tooling } // end namespace clang