From: Richard Smith
Date: Fri, 24 Jan 2014 22:55:47 +0000 (+0000)
Subject: Correct < and > to < and >. Thanks to Samuel Harrington for pointing this out!
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f96528104a24f869c923267ff32b1449a0289b4;p=clang
Correct < and > to < and >. Thanks to Samuel Harrington for pointing this out!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200048 91177308-0d34-0410-b5e6-96231b3b80d8
---
diff --git a/www/diagnostics.html b/www/diagnostics.html
index d8e0221f43..76a7ba4a82 100644
--- a/www/diagnostics.html
+++ b/www/diagnostics.html
@@ -316,7 +316,7 @@ forgetting a ; after a struct definition much better than GCC.
a<int> c;
$ gcc-4.9 t.cc
t.cc:4:8: error: invalid declarator before 'c'
- a c;
+ a<int> c;
^
$ clang t.cc
t.cc:3:12: error: expected ';' after struct