Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
099b9334
Commit
099b9334
authored
Apr 15, 2013
by
Jason Merrill
Committed by
Jason Merrill
Apr 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pt.c (tsubst) [DECLTYPE_TYPE]: Use tsubst_copy_and_build.
From-SVN: r197983
parent
4da97565
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
gcc/cp/ChangeLog
+2
-0
gcc/cp/pt.c
+4
-3
No files found.
gcc/cp/ChangeLog
View file @
099b9334
2013-04-15 Jason Merrill <jason@redhat.com>
* pt.c (tsubst) [DECLTYPE_TYPE]: Use tsubst_copy_and_build.
PR c++/52748
* pt.c (tsubst) [DECLTYPE_TYPE]: If ~id is an expression
rather than a destructor name, it isn't an unqualified-name.
...
...
gcc/cp/pt.c
View file @
099b9334
...
...
@@ -11770,9 +11770,10 @@ tsubst (tree t, tree args, tsubst_flags_t complain, tree in_decl)
++
cp_unevaluated_operand
;
++
c_inhibit_evaluation_warnings
;
type
=
tsubst_expr
(
DECLTYPE_TYPE_EXPR
(
t
),
args
,
complain
|
tf_decltype
,
in_decl
,
/*integral_constant_expression_p=*/
false
);
type
=
tsubst_copy_and_build
(
DECLTYPE_TYPE_EXPR
(
t
),
args
,
complain
|
tf_decltype
,
in_decl
,
/*function_p*/
false
,
/*integral_constant_expression*/
false
);
--
cp_unevaluated_operand
;
--
c_inhibit_evaluation_warnings
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment