[PATCH] D132763: [clang][dataflow] Use `StringMap` for storing analysis states at annotated points instead of `vector<pair<string, StateT>>`.
Dmitri Gribenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 29 05:21:07 PDT 2022
gribozavr2 accepted this revision.
gribozavr2 added inline comments.
================
Comment at: clang/unittests/Analysis/FlowSensitive/TestingSupport.h:302
+ AnnotationStates.insert({It->second, StateT{*Lattice, State.Env}});
+ assert(InsertSuccess);
};
----------------
Please add `(void)InsertSuccess;` to silence an "unused variable" warning in release builds.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132763/new/
https://reviews.llvm.org/D132763
More information about the cfe-commits
mailing list