projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40c9218
)
c++: Fix typo in CLASSTYPE_TI_TEMPLATE comment.
author
Marek Polacek
<polacek@redhat.com>
Mon, 8 Feb 2021 16:34:54 +0000
(11:34 -0500)
committer
Marek Polacek
<polacek@redhat.com>
Mon, 8 Feb 2021 16:35:26 +0000
(11:35 -0500)
gcc/cp/ChangeLog:
* cp-tree.h (CLASSTYPE_TI_TEMPLATE): Fix typo.
gcc/cp/cp-tree.h
patch
|
blob
|
history
diff --git
a/gcc/cp/cp-tree.h
b/gcc/cp/cp-tree.h
index 970ed5e77bbb8147389aca8a22ae634f8569448e..41472a895b55f50d0554b4ae7a6e7b4457326954 100644
(file)
--- a/
gcc/cp/cp-tree.h
+++ b/
gcc/cp/cp-tree.h
@@
-3775,8
+3775,8
@@
struct GTY(()) lang_decl {
template <typename T> struct S {};
template <typename T> struct S<T*> {};
-
- the CLASST
PY
E_TI_TEMPLATE for S<int*> will be S, not the S<T*>.
+
+ the CLASST
YP
E_TI_TEMPLATE for S<int*> will be S, not the S<T*>.
For a member class template, CLASSTYPE_TI_TEMPLATE always refers to the
partial instantiation rather than the primary template. CLASSTYPE_TI_ARGS