1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/include/llvm
Chandler Carruth c69a2c11a3 [ADT] Defend against getting slightly wrong template arguments passed
into CRTP base classes.

This can sometimes happen and not cause an immediate failure when the
derived class is, itself, a template. You can end up essentially calling
methods on the wrong derived type but a type where many things will
appear to "work".

To fail fast and with a clear error message we can use a static_assert,
but we have to stash that static_assert inside a method body or nested
type that won't need to be completed while building the base class. I've
tried to pick a reasonably small number of places that seemed like
reliably places for this to be instantiated.

llvm-svn: 294271
2017-02-07 03:15:12 +00:00
..
ADT [ADT] Defend against getting slightly wrong template arguments passed 2017-02-07 03:15:12 +00:00
Analysis Revert r293017 and fix the actual underlying issue. 2017-02-07 01:50:48 +00:00
AsmParser
Bitcode Change BitstreamCursor::skipRecord to return the record code (NFC) 2017-01-04 22:54:14 +00:00
CodeGen GlobalISel: legalize G_INSERT instructions 2017-02-06 21:56:47 +00:00
Config Fix LLDB Android AArch64 GCC debug info build 2017-02-02 01:17:49 +00:00
DebugInfo Get function start line number from DWARF info 2017-02-06 20:19:02 +00:00
Demangle
ExecutionEngine [Orc] Add missing include. 2017-01-30 17:54:57 +00:00
IR Revert r293017 and fix the actual underlying issue. 2017-02-07 01:50:48 +00:00
IRReader
LibDriver
LineEditor
Linker IRMover: Merge flags LinkModuleInlineAsm and IsPerformingImport. 2017-02-03 17:01:14 +00:00
LTO Revert "[ThinLTO] Add an auto-hide feature" 2017-02-03 07:41:43 +00:00
MC Change how we handle section symbols on ELF. 2017-02-02 21:26:06 +00:00
Object Object: Handle files without a dynamic symbol table. 2017-02-03 16:53:55 +00:00
ObjectYAML Add LC_BUILD_VERSION load command 2017-01-23 20:07:55 +00:00
Option
Passes [PM] Separate the LoopAnalysisManager from the LoopPassManager and move 2017-01-11 09:43:56 +00:00
ProfileData Add indirect call promotion to SamplePGO 2017-01-20 22:56:07 +00:00
Support [Support] Add support for runtime endian values. 2017-02-06 18:31:21 +00:00
TableGen Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
Target Revert "In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled." 2017-02-02 18:24:55 +00:00
Transforms FunctionImport: Use IRMover directly. 2017-02-03 16:56:27 +00:00
XRay [XRay] Define the InstrumentationMap type 2017-02-01 00:05:29 +00:00
CMakeLists.txt
InitializePasses.h [X86] Implement -mfentry 2017-01-31 17:00:27 +00:00
LinkAllIR.h Remove unused #includes of TimeValue.h. NFC. 2016-10-24 14:00:26 +00:00
LinkAllPasses.h [Guards] Introduce loop-predication pass 2017-01-25 16:00:44 +00:00
module.modulemap Tentative fix for modules build. 2017-01-05 04:40:09 +00:00
module.modulemap.build Fix module map to create a module for the configured header Config/abi-breaking.h 2016-12-01 19:08:38 +00:00
Pass.h Reverted: Track validity of pass results 2017-01-15 10:23:18 +00:00
PassAnalysisSupport.h Reverted: Track validity of pass results 2017-01-15 10:23:18 +00:00
PassInfo.h [llvm] Remove duplicate header from PassInfo.h 2016-11-11 02:01:32 +00:00
PassRegistry.h
PassSupport.h Revamp llvm::once_flag to be closer to std::once_flag 2017-02-05 21:13:06 +00:00