1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/lib
Benjamin Kramer 296078e2e7 Use 'auto' to avoid implicit copies.
td_type is std::pair<std::string, std::string>, but the map returns
elements of std::pair<const std::string, std::string>. In well-designed
languages like C++ that yields an implicit copy perfectly hidden by
constref's lifetime extension. Just use auto, the typedef obscured the
real type anyways.

Found with a little help from clang-tidy's
performance-implicit-cast-in-loop.

llvm-svn: 272519
2016-06-12 19:02:34 +00:00
..
Analysis [LICM] Make isGuaranteedToExecute more accurate. 2016-06-11 21:48:25 +00:00
AsmParser [DebugInfo] Add calling convention support for DWARF and CodeView 2016-06-08 20:34:29 +00:00
Bitcode BitcodeReader: Use std:::piecewise_construct when upgrading type refs 2016-06-09 20:46:33 +00:00
CodeGen Run clang-tidy's performance-unnecessary-copy-initialization over LLVM. 2016-06-12 17:30:47 +00:00
DebugInfo [pdb] Fix issues with pdb writing. 2016-06-10 21:47:26 +00:00
ExecutionEngine [MCJIT] Update MCJIT and get the fibonacci example working again. 2016-06-11 05:47:04 +00:00
Fuzzer [LibFuzzer] Fix some unit test crashes on OSX. 2016-06-10 05:33:07 +00:00
IR Use 'auto' to avoid implicit copies. 2016-06-12 19:02:34 +00:00
IRReader
LibDriver
LineEditor
Linker Move instances of std::function. 2016-06-12 16:13:55 +00:00
LTO Move instances of std::function. 2016-06-12 16:13:55 +00:00
MC Apply most suggestions of clang-tidy's performance-unnecessary-value-param 2016-06-08 19:09:22 +00:00
Object [Symbolize] Check if the PE file has a PDB and emit an error if we can't load it 2016-06-03 20:25:09 +00:00
ObjectYAML [obj2yaml] [yaml2obj] Support for MachO nlist and string table 2016-06-02 22:54:06 +00:00
Option
Passes [PM] Port DeadArgumentElimination to the new PM 2016-06-12 09:16:39 +00:00
ProfileData Bug fix remove another illegal char from prof symbol name 2016-06-10 06:32:26 +00:00
Support [STLExtras] Introduce and use llvm::count_if; NFC 2016-06-10 21:18:39 +00:00
TableGen Avoid copies of std::strings and APInt/APFloats where we only read from it 2016-06-08 10:01:20 +00:00
Target Run clang-tidy's performance-unnecessary-copy-initialization over LLVM. 2016-06-12 17:30:47 +00:00
Transforms Run clang-tidy's performance-unnecessary-copy-initialization over LLVM. 2016-06-12 17:30:47 +00:00
CMakeLists.txt
LLVMBuild.txt