llvm-mirror/lib/TableGen
Michael Ilseman 6d636ee500 Clean up static analyzer warnings.
Clang's static analyzer found several potential cases of undefined
behavior, use of un-initialized values, and potentially null pointer
dereferences in tablegen, Support, MC, and ADT. This cleans them up
with specific assertions on the assumptions of the code.

llvm-svn: 224154
2014-12-12 21:48:03 +00:00
..
CMakeLists.txt
Error.cpp
LLVMBuild.txt
Main.cpp Use range-based for loops. NFC 2014-12-11 07:04:54 +00:00
Makefile
module.modulemap
Record.cpp Clean up static analyzer warnings. 2014-12-12 21:48:03 +00:00
SetTheory.cpp
StringMatcher.cpp
TableGenBackend.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 Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
TGParser.cpp Make MultiClass::DefPrototypes own their Records to fix memory leaks. 2014-12-11 05:25:33 +00:00
TGParser.h Replace std::map<K, V*> with std::map<K, std::unique_ptr<V>> to handle ownership and deletion of the values. 2014-12-11 05:25:30 +00:00