[PATCH] D115934: [analyzer] Add range constructor to CallDescriptionMap
Endre Fülöp via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 20 03:16:56 PST 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc6a861e644a9: [analyzer] Add range constructor to CallDescriptionMap (authored by gamesh411).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115934/new/
https://reviews.llvm.org/D115934
Files:
clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h
Index: clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h
===================================================================
--- clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h
+++ clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h
@@ -134,6 +134,9 @@
std::initializer_list<std::pair<CallDescription, T>> &&List)
: LinearMap(List) {}
+ template <typename InputIt>
+ CallDescriptionMap(InputIt First, InputIt Last) : LinearMap(First, Last) {}
+
~CallDescriptionMap() = default;
// These maps are usually stored once per checker, so let's make sure
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115934.395402.patch
Type: text/x-patch
Size: 640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211220/786f2e97/attachment-0001.bin>
More information about the cfe-commits
mailing list