[clang-tools-extra] 89590cd - [clangd] Fix test failure in TypeHints.Decltype

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 29 23:08:16 PST 2023


Author: Nathan Ridge
Date: 2023-01-30T02:08:02-05:00
New Revision: 89590cd1fe7ce61edf0ba59d3e7dc171e5fc0211

URL: https://github.com/llvm/llvm-project/commit/89590cd1fe7ce61edf0ba59d3e7dc171e5fc0211
DIFF: https://github.com/llvm/llvm-project/commit/89590cd1fe7ce61edf0ba59d3e7dc171e5fc0211.diff

LOG: [clangd] Fix test failure in TypeHints.Decltype

Added: 
    

Modified: 
    clang-tools-extra/clangd/unittests/InlayHintTests.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/unittests/InlayHintTests.cpp b/clang-tools-extra/clangd/unittests/InlayHintTests.cpp
index 459c51a44d57..da9073c77f7c 100644
--- a/clang-tools-extra/clangd/unittests/InlayHintTests.cpp
+++ b/clang-tools-extra/clangd/unittests/InlayHintTests.cpp
@@ -1393,8 +1393,7 @@ TEST(TypeHints, Decltype) {
                   ExpectedHint{": int", "a"}, ExpectedHint{": int", "b"},
                   ExpectedHint{": int", "c"}, ExpectedHint{": int", "e"},
                   ExpectedHint{": int", "f"}, ExpectedHint{": int", "g"},
-                  ExpectedHint{": int", "h"}, ExpectedHint{": int", "i"},
-                  ExpectedHint{": auto", "j"});
+                  ExpectedHint{": int", "h"}, ExpectedHint{": int", "i"});
 }
 
 TEST(DesignatorHints, Basic) {


        


More information about the cfe-commits mailing list