summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2013-11-08 23:52:29 +0000
committerHans Wennborg <hans@hanshq.net>2013-11-08 23:52:29 +0000
commit1b6973fc99e381bf8b8f5036502193b8219f4d5e (patch)
tree69db2a36366dd19ecdb7176ba51cb3b148a12866
parent23d375117025c30902a5813dc0bde7d2341b037a (diff)
downloadbcm5719-llvm-1b6973fc99e381bf8b8f5036502193b8219f4d5e.tar.gz
bcm5719-llvm-1b6973fc99e381bf8b8f5036502193b8219f4d5e.zip
Update macro expansion diagnostic examples to say 'expanded from:'
instead of 'instantiated from:'. The actual wording of the note was changed in r135135. llvm-svn: 194297
-rw-r--r--clang/www/diagnostics.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/www/diagnostics.html b/clang/www/diagnostics.html
index 84c6f8bc320..bd9a89d6297 100644
--- a/clang/www/diagnostics.html
+++ b/clang/www/diagnostics.html
@@ -313,7 +313,7 @@ and also shows how some of the other pieces work in a bigger example.</p>
t.c:80:3: <span class="err">error:</span> invalid operands to binary expression ('typeof(P)' (aka 'struct mystruct') and 'typeof(F)' (aka 'float'))
<span class="snip"> X = MYMAX(P, F);</span>
<span class="point"> ^~~~~~~~~~~</span>
- t.c:76:94: note: instantiated from:
+ t.c:76:94: note: expanded from:
<span class="snip">#define MYMAX(A,B) __extension__ ({ __typeof__(A) __a = (A); __typeof__(B) __b = (B); __a &lt; __b ? __b : __a; })</span>
<span class="point"> ~~~ ^ ~~~</span>
</pre>
@@ -326,10 +326,10 @@ implements the "wwopen" class of APIs):</p>
t.c:22:2: <span class="warn">warning:</span> type specifier missing, defaults to 'int'
<span class="snip"> ILPAD();</span>
<span class="point"> ^</span>
- t.c:17:17: note: instantiated from:
+ t.c:17:17: note: expanded from:
<span class="snip">#define ILPAD() PAD((NROW - tt.tt_row) * 10) /* 1 ms per char */</span>
<span class="point"> ^</span>
- t.c:14:2: note: instantiated from:
+ t.c:14:2: note: expanded from:
<span class="snip"> register i; \</span>
<span class="point"> ^</span>
</pre>
OpenPOWER on IntegriCloud