llvm-mirror/lib/TableGen
Benjamin Kramer 5d5a0e4f68 Avoid copies of std::strings and APInt/APFloats where we only read from it
As suggested by clang-tidy's performance-unnecessary-copy-initialization.
This can easily hit lifetime issues, so I audited every change and ran the
tests under asan, which came back clean.

llvm-svn: 272126
2016-06-08 10:01:20 +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
Record.cpp Avoid copies of std::strings and APInt/APFloats where we only read from it 2016-06-08 10:01:20 +00:00
SetTheory.cpp [TableGen] Merge the SuperClass Record and SMRange vector into a single vector. This removes the state needed to manage the extra vector thus reducing the size of the Record class. NFC 2016-01-18 19:52:37 +00:00
StringMatcher.cpp
TableGenBackend.cpp [TableGen] Fix line wrapping logic for the autogenerated header to use math that makes more sense (at least to me). 2015-05-26 08:07:56 +00:00
TGLexer.cpp
TGLexer.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
TGParser.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
TGParser.h [TableGen] Change TGParser::SetValue to take an ArrayRef instead of std::vector reference. Use None in many places where a default constructed vector was being passed. NFC 2016-01-04 03:15:08 +00:00