https://bugs.llvm.org/show_bug.cgi?id=43115
Bug ID: 43115
Summary: Clang seg fault triggered by defaulted template
template parameter calculated from other template
parameter
Product: clang
Version: 8.0
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangb...@nondot.org
Reporter: jonesconr...@gmail.com
CC: blitzrak...@gmail.com, dgre...@apple.com,
erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
richard-l...@metafoo.co.uk
template <size_t index, typename ARG, E enumVal = static_cast<E>(index),
template <typename> typename CONSTRAINT = PT<enumVal>::template constraint>
line 609827 of attached file coreaudiodevice.mm
and line 609860
it was able to compile once i removed the defaulted type for the template
template parameter CONSTRAINT and moved the "calculation" of this to the
calling function
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs