llvm-6502/lib/TableGen
Michael Ilseman 3f0e8837be 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224154 91177308-0d34-0410-b5e6-96231b3b80d8
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
TGLexer.h
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