Author: Richard Smith
Date: 2021-06-30T17:11:55-07:00
New Revision: 5b8ddd2ccceb8de04bd020f286bc3ca38638ecb1

URL: 
https://github.com/llvm/llvm-project/commit/5b8ddd2ccceb8de04bd020f286bc3ca38638ecb1
DIFF: 
https://github.com/llvm/llvm-project/commit/5b8ddd2ccceb8de04bd020f286bc3ca38638ecb1.diff

LOG: Fix test following Clang change ef227b3.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/unittests/FindTargetTests.cpp 
b/clang-tools-extra/clangd/unittests/FindTargetTests.cpp
index 67dcb574d500a..bccf98ee07ab4 100644
--- a/clang-tools-extra/clangd/unittests/FindTargetTests.cpp
+++ b/clang-tools-extra/clangd/unittests/FindTargetTests.cpp
@@ -464,7 +464,7 @@ TEST_F(TargetDeclTest, Concept) {
   )cpp";
   EXPECT_DECLS(
       "ConceptSpecializationExpr",
-      {"template <typename T> concept Fooable = requires (T t) { t.foo(); 
};"});
+      {"template <typename T> concept Fooable = requires (T t) { t.foo(); }"});
 
   // trailing requires clause
   Code = R"cpp(
@@ -475,7 +475,7 @@ TEST_F(TargetDeclTest, Concept) {
       void foo() requires [[Fooable]]<T>;
   )cpp";
   EXPECT_DECLS("ConceptSpecializationExpr",
-               {"template <typename T> concept Fooable = true;"});
+               {"template <typename T> concept Fooable = true"});
 
   // constrained-parameter
   Code = R"cpp(
@@ -486,7 +486,7 @@ TEST_F(TargetDeclTest, Concept) {
     void bar(T t);
   )cpp";
   EXPECT_DECLS("ConceptSpecializationExpr",
-               {"template <typename T> concept Fooable = true;"});
+               {"template <typename T> concept Fooable = true"});
 
   // partial-concept-id
   Code = R"cpp(
@@ -497,7 +497,7 @@ TEST_F(TargetDeclTest, Concept) {
     void bar(T t);
   )cpp";
   EXPECT_DECLS("ConceptSpecializationExpr",
-               {"template <typename T, typename U> concept Fooable = true;"});
+               {"template <typename T, typename U> concept Fooable = true"});
 }
 
 TEST_F(TargetDeclTest, FunctionTemplate) {


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to