llvm-project/llvm/lib/TableGen
Craig Topper 33684f9e64 [TableGen] Rewrite an assert to not do a bunch unsigned math and then try to ensure the result is a positive number.
I think the fact that it was explicitly excluding 0 kept this from being a tautology. The exclusion of 0 for the old math was also a bug that's easily hit if the description gets split into multiple lines.

llvm-svn: 238186
2015-05-26 08:07:49 +00:00
..
CMakeLists.txt Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Error.cpp Fix tablegen's PrintFatalError function to run registered file 2015-05-11 22:17:13 +00:00
LLVMBuild.txt
Main.cpp [TableGen] Include header for each cpp file first. NFC 2015-05-26 06:48:46 +00:00
Makefile
Record.cpp [TableGen] Make some variable names consistent with their type names and just generally consistent across all of the overloads. 2015-05-20 05:40:13 +00:00
SetTheory.cpp [TableGen] Include header for each cpp file first. NFC 2015-05-26 06:48:46 +00:00
StringMatcher.cpp
TGLexer.cpp Change TableGen so that binary literals such as 0b001 are now sized. 2014-08-07 05:47:00 +00:00
TGLexer.h Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:32:26 +00:00
TGParser.cpp [TableGen] Resolve complex def names inside multiclasses 2015-05-21 04:32:56 +00:00
TGParser.h [TableGen] Resolve complex def names inside multiclasses 2015-05-21 04:32:56 +00:00
TableGenBackend.cpp [TableGen] Rewrite an assert to not do a bunch unsigned math and then try to ensure the result is a positive number. 2015-05-26 08:07:49 +00:00
module.modulemap [modules] Add module maps for LLVM. These are not quite ready for prime-time 2014-05-21 02:46:14 +00:00