forked from OSchip/llvm-project
Just use std::list<> for PathPieces instead of complicated use of ilist.
llvm-svn: 180747
This commit is contained in:
parent
eba09facff
commit
b6be1e017c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue