Fix "Optional" is ambiguous error on some bots

llvm-svn: 334580
This commit is contained in:
Pavel Labath 2018-06-13 08:29:19 +00:00
parent 2dde032c9a
commit dd69f934b2

View File

@ -330,7 +330,7 @@ static DWARFDie toDie(const DWARFDebugNames::Entry &Entry,
if (!CU)
return DWARFDie();
if (Optional<uint64_t> DWOId = CU->getDWOId()) {
if (llvm::Optional<uint64_t> DWOId = CU->getDWOId()) {
// This is a skeleton unit. Look up the DIE in the DWO unit.
CU = DICtx.getDWOCompileUnitForHash(*DWOId);
if (!CU)