mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-12 18:02:43 +00:00
Initialize ImplicitConversionSequence::ListInitializationSequence. Fixes PR11394
llvm-svn: 144992
This commit is contained in:
parent
3005bfd516
commit
6cdda3bde6
@ -414,12 +414,14 @@ namespace clang {
|
||||
BadConversionSequence Bad;
|
||||
};
|
||||
|
||||
ImplicitConversionSequence() : ConversionKind(Uninitialized) {}
|
||||
ImplicitConversionSequence()
|
||||
: ConversionKind(Uninitialized), ListInitializationSequence(false) {}
|
||||
~ImplicitConversionSequence() {
|
||||
destruct();
|
||||
}
|
||||
ImplicitConversionSequence(const ImplicitConversionSequence &Other)
|
||||
: ConversionKind(Other.ConversionKind)
|
||||
: ConversionKind(Other.ConversionKind),
|
||||
ListInitializationSequence(Other.ListInitializationSequence)
|
||||
{
|
||||
switch (ConversionKind) {
|
||||
case Uninitialized: break;
|
||||
|
Loading…
Reference in New Issue
Block a user