File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
clang/include/clang/Analysis/PathSensitive Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -297,18 +297,18 @@ class ExplodedGraph : public ExplodedGraphImpl {
297
297
}
298
298
299
299
// Iterators.
300
- typedef NodeTy* roots_iterator;
301
- typedef const NodeTy* const_roots_iterator;
302
- typedef NodeTy* eop_iterator;
303
- typedef const NodeTy* const_eop_iterator;
300
+ typedef NodeTy** roots_iterator;
301
+ typedef const NodeTy** const_roots_iterator;
302
+ typedef NodeTy** eop_iterator;
303
+ typedef const NodeTy** const_eop_iterator;
304
304
305
305
306
306
roots_iterator roots_begin () {
307
- return static_cast <NodeTy* >(Roots.begin ());
307
+ return reinterpret_cast <roots_iterator >(Roots.begin ());
308
308
}
309
309
310
310
roots_iterator roots_end () {
311
- return static_cast <NodeTy* >(Roots.end ());
311
+ return reinterpret_cast <roots_iterator >(Roots.end ());
312
312
}
313
313
314
314
const_roots_iterator roots_begin () const {
@@ -320,11 +320,11 @@ class ExplodedGraph : public ExplodedGraphImpl {
320
320
}
321
321
322
322
eop_iterator eop_begin () {
323
- return static_cast <NodeTy* >(EndNodes.begin ());
323
+ return reinterpret_cast <eop_iterator >(EndNodes.begin ());
324
324
}
325
325
326
326
eop_iterator eop_end () {
327
- return static_cast <NodeTy* >(EndNodes.end ());
327
+ return reinterpret_cast <eop_iterator >(EndNodes.end ());
328
328
}
329
329
330
330
const_eop_iterator eop_begin () const {
You can’t perform that action at this time.
0 commit comments