Just use std::list<> for PathPieces instead of complicated use of ilist.

llvm-svn: 180747
This commit is contained in:
Ted Kremenek 2013-04-29 23:13:02 +00:00
parent eba09facff
commit b6be1e017c
1 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/PointerUnion.h"
#include <deque>
#include <list>
#include <iterator>
#include <string>
#include <vector>
@ -388,7 +389,7 @@ public:
};
class PathPieces : public std::deque<IntrusiveRefCntPtr<PathDiagnosticPiece> > {
class PathPieces : public std::list<IntrusiveRefCntPtr<PathDiagnosticPiece> > {
void flattenTo(PathPieces &Primary, PathPieces &Current,
bool ShouldFlattenMacros) const;
public: