1. [FormatManager] Add static_assert to keep formats in sync. (details)
  2. [analyzer] CastValueChecker: Model isa(), isa_and_nonnull() (details)
Commit 12002fbd211d3197a2ccba63632937ee1e9212f4 by Jonas Devlieghere
[FormatManager] Add static_assert to keep formats in sync.
This adds a static assert that ensures that there's a format info entry
for every format enum value. This should prevent others from making the
same mistake I made and Jason kindly fixed in r369611. (Thanks!)
llvm-svn: 369614
The file was modifiedlldb/source/DataFormatters/FormatManager.cpp (diff)
Commit 4d71600c113243b0f3eb04c2308f0eda60bfccaa by dabis.csaba98
[analyzer] CastValueChecker: Model isa(), isa_and_nonnull()
Summary: -
Reviewed By: NoQ
Differential Revision:
llvm-svn: 369615
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp (diff)
The file was modifiedclang/test/Analysis/Inputs/llvm.h (diff)
The file was modifiedclang/test/Analysis/cast-value-logic.cpp (diff)
The file was modifiedclang/test/Analysis/cast-value-notes.cpp (diff)