forked from OSchip/llvm-project
[analyzer] Re-apply r283092, attempt no.4, chunk no.2.
Define the list of pieces in BugReport class. This is half of the changes in the BugReport class code, which is pointed to by the msvc crash message. llvm-svn: 283568
This commit is contained in:
parent
73f1ab28cd
commit
ae22c0752d
|
|
@ -66,6 +66,8 @@ 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>
|
||||
NoteList;
|
||||
|
||||
protected:
|
||||
friend class BugReporter;
|
||||
|
|
@ -82,7 +84,8 @@ protected:
|
|||
const ExplodedNode *ErrorNode;
|
||||
SmallVector<SourceRange, 4> Ranges;
|
||||
ExtraTextList ExtraText;
|
||||
|
||||
NoteList Notes;
|
||||
|
||||
typedef llvm::DenseSet<SymbolRef> Symbols;
|
||||
typedef llvm::DenseSet<const MemRegion *> Regions;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue