We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 148c69d commit b76b3f3Copy full SHA for b76b3f3
clang-tools-extra/test/clang-doc/DR-141990.cpp
@@ -0,0 +1,18 @@
1
+// RUN: rm -rf %t && mkdir -p %t
2
+// RUN: clang-doc -output=%t %s 2>&1 | FileCheck %s --implicit-check-not="{{warning|error}}"
3
+
4
+// COM: This case triggered an assertion before #141990:
5
+// COM: clang-doc: llvm-project/clang/lib/AST/Decl.cpp:2985:
6
+// COM: Expr *clang::ParmVarDecl::getDefaultArg(): Assertion `!hasUninstantiatedDefaultArg()
7
+// COM: && "Default argument is not yet instantiated!"' failed.
8
9
+template <class = int>
10
+class c;
11
+int e;
12
13
+template <class>
14
+class c {
15
+public:
16
+ void f(int n = e);
17
+};
18
+class B : c<> {};
0 commit comments