From 1c1b4da35ea978c6be7a6777098ad6dd5db96286 Mon Sep 17 00:00:00 2001
From: Hans Wennborg
Date: Fri, 8 Nov 2013 23:52:29 +0000
Subject: [PATCH] Update macro expansion diagnostic examples to say 'expanded
from:' instead of 'instantiated from:'. The actual wording of the note was
changed in r135135.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194297 91177308-0d34-0410-b5e6-96231b3b80d8
---
www/diagnostics.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/www/diagnostics.html b/www/diagnostics.html
index 84c6f8bc32..bd9a89d629 100644
--- a/www/diagnostics.html
+++ b/www/diagnostics.html
@@ -313,7 +313,7 @@ and also shows how some of the other pieces work in a bigger example.
t.c:80:3: error: invalid operands to binary expression ('typeof(P)' (aka 'struct mystruct') and 'typeof(F)' (aka 'float'))
X = MYMAX(P, F);
^~~~~~~~~~~
- t.c:76:94: note: instantiated from:
+ t.c:76:94: note: expanded from:
#define MYMAX(A,B) __extension__ ({ __typeof__(A) __a = (A); __typeof__(B) __b = (B); __a < __b ? __b : __a; })
~~~ ^ ~~~
@@ -326,10 +326,10 @@ implements the "wwopen" class of APIs):
t.c:22:2: warning: type specifier missing, defaults to 'int'
ILPAD();
^
- t.c:17:17: note: instantiated from:
+ t.c:17:17: note: expanded from:
#define ILPAD() PAD((NROW - tt.tt_row) * 10) /* 1 ms per char */
^
- t.c:14:2: note: instantiated from:
+ t.c:14:2: note: expanded from:
register i; \
^
--
2.40.0