[clang-tools-extra] [clang-doc] Fix failing test (PR #76857)
Krystian Stasiowski via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 3 12:00:15 PST 2024
https://github.com/sdkrystian created https://github.com/llvm/llvm-project/pull/76857
This fixes a failing test case in clang-doc introduced by 7fbc1de9896029636dd572a692ee90ba88285943. I presume the test is intended to be well-formed, so I have changed it accordingly.
>From 7b7c9b78bc48a0df6c5fffce202a9ae7b84812d4 Mon Sep 17 00:00:00 2001
From: Krystian Stasiowski <sdkrystian at gmail.com>
Date: Wed, 3 Jan 2024 14:55:55 -0500
Subject: [PATCH] [clang-doc] Fix failing test
---
clang-tools-extra/test/clang-doc/templates.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang-tools-extra/test/clang-doc/templates.cpp b/clang-tools-extra/test/clang-doc/templates.cpp
index eb7f4599629f48..2e04a77ac9e621 100644
--- a/clang-tools-extra/test/clang-doc/templates.cpp
+++ b/clang-tools-extra/test/clang-doc/templates.cpp
@@ -7,7 +7,7 @@
// RUN: rm -rf %t
template<typename T, int U = 1>
-void function<bool, 0>(T x) {}
+void function(T x) {}
template<>
void function<bool, 0>(bool x) {}
More information about the cfe-commits
mailing list