diff options
| author | Pavel Labath <labath@google.com> | 2018-06-13 08:29:19 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2018-06-13 08:29:19 +0000 |
| commit | 4b896eb7927b3c5f688b95c4b5be6ecbe0cafc45 (patch) | |
| tree | f0f047b62c9c50578dd98ca8fc45fdc22e6e1113 /llvm/tools/llvm-dwarfdump | |
| parent | 9bffc94cf0741a3308e7b8304f044c604fc3d749 (diff) | |
| download | bcm5719-llvm-4b896eb7927b3c5f688b95c4b5be6ecbe0cafc45.tar.gz bcm5719-llvm-4b896eb7927b3c5f688b95c4b5be6ecbe0cafc45.zip | |
Fix "Optional" is ambiguous error on some bots
llvm-svn: 334580
Diffstat (limited to 'llvm/tools/llvm-dwarfdump')
| -rw-r--r-- | llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp b/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp index d9d36625083..d75f3390609 100644 --- a/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp +++ b/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp @@ -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) |

