From: Ted Kremenek Date: Mon, 29 Apr 2013 23:13:02 +0000 (+0000) Subject: Just use std::list<> for PathPieces instead of complicated use of ilist. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb9380db6fcc960d4a589f0acb94b0897821d26f;p=clang Just use std::list<> for PathPieces instead of complicated use of ilist. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180747 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h b/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h index 7b5b1c2e2a..9de0a5fba3 100644 --- a/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h +++ b/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h @@ -21,6 +21,7 @@ #include "llvm/ADT/Optional.h" #include "llvm/ADT/PointerUnion.h" #include +#include #include #include #include @@ -388,7 +389,7 @@ public: }; -class PathPieces : public std::deque > { +class PathPieces : public std::list > { void flattenTo(PathPieces &Primary, PathPieces &Current, bool ShouldFlattenMacros) const; public: