summaryrefslogtreecommitdiff
path: root/www/diagnostics.html
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-01-24 22:55:47 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-01-24 22:55:47 +0000
commit0f96528104a24f869c923267ff32b1449a0289b4 (patch)
tree62f2d75c1592dacfe3f91a265e1002bc59f395c0 /www/diagnostics.html
parent2f9e642a746ce7a8adc6da9ed9a5a56711bee101 (diff)
downloadclang-0f96528104a24f869c923267ff32b1449a0289b4.tar.gz
Correct < and > to &lt; and &gt;. 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
Diffstat (limited to 'www/diagnostics.html')
-rw-r--r--www/diagnostics.html2
1 files changed, 1 insertions, 1 deletions
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.</p>
a&lt;int&gt; c;
$ <span class="cmd">gcc-4.9 t.cc</span>
t.cc:4:8: error: invalid declarator before 'c'
- a<int> c;
+ a&lt;int&gt; c;
^
$ <span class="cmd">clang t.cc</span>
<span class="loc">t.cc:3:12:</span> <span class="err">error:</span> <span class="msg">expected ';' after struct</span>