Previously, if accidentally multiple checkers eval::Call-ed the same
CallEvent, in debug builds the analyzer detected this and crashed
with the message stating this. Unfortunately, the message did not state
the offending checkers violating this invariant.
This revision addresses this by printing a more descriptive message
before aborting.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Committed with the requested changes.
clang/lib/StaticAnalyzer/Core/CheckerManager.cpp | ||
---|---|---|
679 | I guess it's up to personal taste. |
Optional implicitly converts to bool and IMHO this way it is easier to read the code.