projects
/
test_jj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
682ede3
)
Use auto_vec for pointer_query cache for auto cleanup.
author
Martin Sebor
<msebor@redhat.com>
Fri, 4 Feb 2022 02:44:44 +0000
(19:44 -0700)
committer
Martin Sebor
<msebor@redhat.com>
Fri, 4 Feb 2022 02:47:04 +0000
(19:47 -0700)
gcc/Changelog:
* pointer-query.h (pointer_query::cache_type): Use auto_vec for auto
cleanup.
gcc/pointer-query.h
patch
|
blob
|
history
diff --git
a/gcc/pointer-query.h
b/gcc/pointer-query.h
index
4c725ee
..
801a240
100644
(file)
--- a/
gcc/pointer-query.h
+++ b/
gcc/pointer-query.h
@@
-164,9
+164,9
@@
class pointer_query
struct cache_type
{
/* 1-based indices into cache. */
- vec<unsigned> indices;
+
auto_
vec<unsigned> indices;
/* The cache itself. */
- vec<access_ref> access_refs;
+
auto_
vec<access_ref> access_refs;
};
public: