diff options
author | Nathan Sidwell <nathan@acm.org> | 2019-10-15 11:20:06 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2019-10-15 11:20:06 +0000 |
commit | 386c40778648fecf4807566d5254dec191d35dab (patch) | |
tree | 159f7184ec9acb86a40639f090c6486ffe9ecbb9 /libcpp/line-map.c | |
parent | 1c2e7cd91aaa0fa022c8f17f4d5db214439ef178 (diff) | |
download | gcc-386c40778648fecf4807566d5254dec191d35dab.zip gcc-386c40778648fecf4807566d5254dec191d35dab.tar.gz gcc-386c40778648fecf4807566d5254dec191d35dab.tar.bz2 |
[C++ PATCH] build_clone cleanup
https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01069.html
build_clone is recursive when applied to a template, but I found the control flow confusing. this makes it clearer and moves some decls to their initializers.
* class.c (build_clone): Refactor to clarify recursiveness.
From-SVN: r276992
Diffstat (limited to 'libcpp/line-map.c')
0 files changed, 0 insertions, 0 deletions