1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/include/llvm
Yevgeny Rouban ebb8c67ccd Allow incomplete template types in unique_function arguments
We can't declare unique_function that has in its arguments a reference to
a template type with an incomplete argument.
For instance, we can't declare unique_function<void(SmallVectorImpl<A>&)>
when A is forward declared.

This is because SFINAE will trigger a hard error in this case, when instantiating
IsSizeLessThanThresholdT with the incomplete type.

This patch specialize AdjustedParamT for references to remove this error.

Committed on behalf of: @math-fehr (Fehr Mathieu)

Reviewed By: DaniilSuchkov, yrouban
2021-05-21 14:09:33 +07:00
..
ADT Allow incomplete template types in unique_function arguments 2021-05-21 14:09:33 +07:00
Analysis Revert "[Remarks] Add analysis remarks for memset/memcpy/memmove lengths" 2021-05-20 12:19:16 -07:00
AsmParser IR/AArch64/X86: add "swifttailcc" calling convention. 2021-05-17 10:48:34 +01:00
BinaryFormat [WebAssembly] Fix PIC/GOT codegen for wasm64 2021-05-20 09:59:31 -07:00
Bitcode IR+AArch64: add a "swiftasync" argument attribute. 2021-05-14 11:43:58 +01:00
Bitstream
CodeGen [RISCV] Ensure shuffle splat operands are type-legal 2021-05-20 18:00:03 +01:00
Config Fix lld macho standalone build by including llvm/Config/llvm-config.h instead of llvm/Config/config.h 2021-05-19 11:15:07 -04:00
DebugInfo [lldb] Improve invalid DWARF DW_AT_ranges error reporting 2021-05-20 21:37:01 +02:00
Demangle [Demangle][Rust] Parse named types 2021-05-19 00:04:41 +02:00
DWARFLinker [dsymutil] Add flag to force a static variable to keep its enclosing function 2021-04-28 11:33:04 -07:00
ExecutionEngine [ORC] Add a CPU getter to JITTargetMachineBuilder. 2021-05-19 13:31:25 -07:00
FileCheck [FileCheck] Fix numeric error propagation 2021-03-17 19:25:41 -04:00
Frontend Fix -Wdocumentation warnings. NFCI. 2021-05-11 09:51:49 +01:00
FuzzMutate
InterfaceStub [docs] Fix doxygen comments wrongly attached to the llvm namespace 2021-04-07 01:20:18 +02:00
IR [IR] Memory intrinsics are not unconditionally nosync 2021-05-21 03:40:59 +02:00
IRReader
LineEditor
Linker
LTO [SampleFDO] New hierarchical discriminator for Flow Sensitive SampleFDO 2021-05-18 16:23:43 -07:00
MC [AIX] Print printable byte list as quoted string 2021-05-21 02:37:55 +00:00
MCA [MCA][RegisterFile] Refactor the move elimination logic to address PR50258. 2021-05-08 18:10:35 +01:00
Object [LLD] Implement /guard:[no]ehcont 2021-04-14 15:06:49 +08:00
ObjectYAML [WebAssembly] Rename WasmLimits::Initial to ::Minimum. NFC. 2021-03-24 09:10:11 +01:00
Option [clang][cli][docs] Clarify marshalling infrastructure documentation 2021-05-04 15:16:32 +02:00
Passes [NewPM] Add options to PrintPassInstrumentation 2021-05-18 20:59:35 -07:00
ProfileData [CoverageMapping] Handle gaps in counter IDs for source-based coverage 2021-05-19 10:46:38 -07:00
Remarks
Support [SampleFDO] New hierarchical discriminator for Flow Sensitive SampleFDO 2021-05-18 16:23:43 -07:00
TableGen [TableGen] Fix two bugs in 'defm' when complex 'assert' is involved. 2021-04-30 11:31:06 -04:00
Target Recommit "[GlobalISel] Simplify G_ICMP to true/false when the result is known" 2021-05-19 09:29:19 -07:00
Testing/Support Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
TextAPI [llvm][TextAPI] add mapping from OS string to Platform 2021-05-06 16:25:56 -07:00
ToolDrivers
Transforms Revert "[Remarks] Add analysis remarks for memset/memcpy/memmove lengths" 2021-05-20 12:19:16 -07:00
WindowsManifest
WindowsResource
XRay
CMakeLists.txt
InitializePasses.h [SampleFDO] New hierarchical discriminator for Flow Sensitive SampleFDO 2021-05-18 16:23:43 -07:00
LinkAllIR.h
LinkAllPasses.h Recommit "[VP,Integer,#2] ExpandVectorPredication pass" 2021-05-04 11:47:52 +02:00
module.extern.modulemap
module.install.modulemap
module.modulemap
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h