[PATCH] D67024: [analyzer] NFC: Replace intrusive list of bug reports with a vector of pointers.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 9 13:40:02 PDT 2019


NoQ marked 5 inline comments as done.
NoQ added inline comments.


================
Comment at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:569
                                SmallVectorImpl<BugReport *> &bugReports) {
-    return &*eqClass.begin();
+    return eqClass.getReports().begin()->get();
   }
----------------
gribozavr wrote:
> `getReports()[0]` ?
Mm right :)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67024/new/

https://reviews.llvm.org/D67024





More information about the cfe-commits mailing list