]> granicus.if.org Git - clang/commitdiff
[analyzer] A blind attempt to fix a buildbot after r283092.
authorArtem Dergachev <artem.dergachev@gmail.com>
Mon, 3 Oct 2016 20:12:12 +0000 (20:12 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Mon, 3 Oct 2016 20:12:12 +0000 (20:12 +0000)
The msvc compiler seems to crash compiling the BugReport class.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283141 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h

index 6283305a5d46f111abd9e9ee2dfe9c064f9c247d..8ace59c2fe5787c9e4196bb5be5719d06cb0b60d 100644 (file)
@@ -66,7 +66,7 @@ public:
   typedef SmallVector<std::unique_ptr<BugReporterVisitor>, 8> VisitorList;
   typedef VisitorList::iterator visitor_iterator;
   typedef SmallVector<StringRef, 2> ExtraTextList;
-  typedef SmallVector<llvm::IntrusiveRefCntPtr<PathDiagnosticNotePiece>, 4>
+  typedef std::vector<llvm::IntrusiveRefCntPtr<PathDiagnosticNotePiece>>
       NoteList;
 
 protected: