1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/include/llvm
Pete Cooper c1662528d1 Fix reverse to work on const rbegin()/rend().
Duncan found that reverse worked on mutable rbegin(), but the has_rbegin
trait didn't work with a const method.  See http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160815/382890.html
for more details.

Turns out this was already solved in clang with has_getDecl.  Copied that and made it work for rbegin.

This includes the tests Duncan attached to that thread, including the traits test.

llvm-svn: 278991
2016-08-17 22:06:59 +00:00
..
ADT Fix reverse to work on const rbegin()/rend(). 2016-08-17 22:06:59 +00:00
Analysis [LoopStrenghtReduce] Refactoring and addition of a new target cost function. 2016-08-17 13:24:19 +00:00
AsmParser [AsmParser] Expose an API to parse a string starting with a type. 2016-03-08 00:37:07 +00:00
Bitcode [PM] BitcodeWriterPass should derive from PassInfoMixin 2016-08-12 21:33:36 +00:00
CodeGen Tail Duplication: Accept explicit threshold for duplicating. 2016-08-17 21:07:35 +00:00
Config Use posix_fallocate instead of ftruncate. 2016-07-19 20:19:56 +00:00
DebugInfo Revert "Write the TPI stream from a PDB to Yaml." 2016-08-16 23:37:10 +00:00
ExecutionEngine [MCJIT] Improve documentation and error handling for MCJIT::runFunction. 2016-08-11 15:56:23 +00:00
IR GlobalISel: support irtranslation of icmp instructions. 2016-08-17 20:25:25 +00:00
IRReader [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
LibDriver [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
LineEditor Apply clang-tidy's misc-move-constructor-init throughout LLVM. 2016-05-27 14:27:24 +00:00
Linker Linker: teach the IR mover to return llvm::Error. 2016-05-27 05:21:35 +00:00
LTO [LTO] Introduce an Output class to wrap the output stream creation (NFC) 2016-08-17 06:23:09 +00:00
MC Avoid accessing LLVM/DWARF register mappings if undefined 2016-08-12 23:12:59 +00:00
Object CodeView: extract the OMF Directory Header 2016-08-09 00:25:12 +00:00
ObjectYAML [macho2yaml] Don't write empty linkedit data 2016-08-17 21:46:04 +00:00
Option Option parser: class for consuming a joined arg in addition to all remaining args 2016-04-15 00:23:30 +00:00
Passes [PM] Significantly refactor the pass pipeline parsing to be easier to 2016-08-03 03:21:41 +00:00
ProfileData [Coverage] Mark more methods const (NFC) 2016-07-22 21:11:55 +00:00
Support [GraphWriter] Change GraphWriter to use NodeRef in GraphTraits 2016-08-17 20:07:29 +00:00
TableGen [TableGen] Autobrief-ize Record. NFC. 2016-07-14 14:53:14 +00:00
Target GlobalISel: support irtranslation of icmp instructions. 2016-08-17 20:25:25 +00:00
Transforms Revert "Reassociate: Reprocess RedoInsts after each inst". 2016-08-17 15:54:39 +00:00
CMakeLists.txt
InitializePasses.h [PM] Port the always inliner to the new pass manager in a much more 2016-08-17 02:56:20 +00:00
LinkAllIR.h Remove every uses of getGlobalContext() in LLVM (but the C API) 2016-04-14 21:59:01 +00:00
LinkAllPasses.h [PM] Port the always inliner to the new pass manager in a much more 2016-08-17 02:56:20 +00:00
module.modulemap Update modulemap for Msf -> MSF rename. 2016-07-30 12:05:17 +00:00
module.modulemap.build
Pass.h Remove unused header. 2016-05-25 22:56:58 +00:00
PassAnalysisSupport.h Apply clang-tidy's modernize-loop-convert to most of lib/Transforms. 2016-06-26 12:28:59 +00:00
PassInfo.h
PassRegistry.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
PassSupport.h [LPM] Reinstate r271781 which reinstated r271652 to replace the 2016-06-04 19:57:55 +00:00