Author: Balázs Kéri Date: 2025-01-13T11:35:38+01:00 New Revision: 7e01a322f850e86be9eefde8ae5a30e532d22cfa
URL: https://github.com/llvm/llvm-project/commit/7e01a322f850e86be9eefde8ae5a30e532d22cfa DIFF: https://github.com/llvm/llvm-project/commit/7e01a322f850e86be9eefde8ae5a30e532d22cfa.diff LOG: [clang][ASTImporter] Fix unused variable warning (NFC) (#122686) Added: Modified: clang/unittests/AST/ASTImporterTest.cpp Removed: ################################################################################ diff --git a/clang/unittests/AST/ASTImporterTest.cpp b/clang/unittests/AST/ASTImporterTest.cpp index a0aaad6082d8cb..791248e7a394f1 100644 --- a/clang/unittests/AST/ASTImporterTest.cpp +++ b/clang/unittests/AST/ASTImporterTest.cpp @@ -10182,7 +10182,7 @@ TEST_P(ASTImporterOptionSpecificTestBase, ImportIntoReopenedNamespaceNoMatch1) { struct X { int A; }; } )"; - Decl *ToTU = getToTuDecl(ToCode, Lang_CXX11); + getToTuDecl(ToCode, Lang_CXX11); const char *Code = R"( namespace a { @@ -10205,7 +10205,7 @@ TEST_P(ASTImporterOptionSpecificTestBase, ImportIntoReopenedNamespaceNoMatch2) { namespace a { } )"; - Decl *ToTU = getToTuDecl(ToCode, Lang_CXX11); + getToTuDecl(ToCode, Lang_CXX11); const char *Code = R"( namespace a { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits