Changeset 4f0c520 for src


Ignore:
Timestamp:
Nov 27, 2020, 6:23:36 PM (4 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
3d0560d, 41c19b4
Parents:
4432b52
Message:

Found a stack that was still a deque wrapper instead of a vector wrapper.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeTools/TrackLoc.cc

    r4432b52 r4f0c520  
    1010// Created On       : Tues May 2 15:46:00 2017
    1111// Last Modified By : Andrew Beach
    12 // Last Modified On : Wed May 3 14:43:00 2017
    13 // Update Count     : 0
     12// Last Modified On : Fri Nov 27 18:00:00 2020
     13// Update Count     : 1
    1414//
    1515
     
    2222#include <string>                    // for operator<<, string
    2323#include <typeindex>                 // for type_index
     24#include <vector>                    // for vector
    2425
    2526#include "Common/PassVisitor.h"      // for PassVisitor
     
    3738                CodeLocation *lastNode;
    3839
    39                 std::stack< CodeLocation * > parents;
     40                std::stack< CodeLocation *, std::vector< CodeLocation * > > parents;
    4041        public:
    4142                LocationPrinter(size_t printLevel) :
Note: See TracChangeset for help on using the changeset viewer.