[clang] [clangd] [AST] Handle uninitialized type constraints (PR #110496)
Florian Albrechtskirchinger via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 30 23:58:32 PDT 2024
================
@@ -27,3 +25,12 @@ int main() {
}
#endif
+
+namespace GH99036 {
+
+template <typename T>
+concept C; // expected-error {{expected '='}}
+// expected-note at 32 {{declared here}}
----------------
falbrechtskirchinger wrote:
Should have used `@-1` here.
https://github.com/llvm/llvm-project/pull/110496
More information about the cfe-commits
mailing list