[PATCH] D77866: [analyzer][CallAndMessage] Add checker options for each bug category
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 15 09:17:01 PDT 2020
balazske added inline comments.
================
Comment at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:194
+ const ProgramPointTag *Tag = nullptr) {
+ // Say this 3 times fast.
+ State = State ? State : getState();
----------------
martong wrote:
> I like joke :D But there are people who may not, so, the code would be more pro without it.
```
if (!State)
State = getState();
```
is better?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77866/new/
https://reviews.llvm.org/D77866
More information about the cfe-commits
mailing list