From: Artem Dergachev Date: Fri, 7 Oct 2016 15:55:18 +0000 (+0000) Subject: [analyzer] Re-apply r283092, attempt no.4, chunk no.2. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2debfe67236df81b4b386304d4aecd9fe20fc156;p=clang [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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283568 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h b/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h index 0ab8b29c3e..7bcdef6622 100644 --- a/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h +++ b/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h @@ -66,6 +66,8 @@ public: typedef SmallVector, 8> VisitorList; typedef VisitorList::iterator visitor_iterator; typedef SmallVector ExtraTextList; + typedef SmallVector, 4> + NoteList; protected: friend class BugReporter; @@ -82,7 +84,8 @@ protected: const ExplodedNode *ErrorNode; SmallVector Ranges; ExtraTextList ExtraText; - + NoteList Notes; + typedef llvm::DenseSet Symbols; typedef llvm::DenseSet Regions;