diff options
Diffstat (limited to 'llvm/lib/Support/ELFAttributes.cpp')
-rw-r--r-- | llvm/lib/Support/ELFAttributes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/ELFAttributes.cpp b/llvm/lib/Support/ELFAttributes.cpp index 87e8c6f..f2a1732 100644 --- a/llvm/lib/Support/ELFAttributes.cpp +++ b/llvm/lib/Support/ELFAttributes.cpp @@ -29,6 +29,6 @@ std::optional<unsigned> ELFAttrs::attrTypeFromString(StringRef tag, return item.tagName.drop_front(hasTagPrefix ? 0 : 4) == tag; }); if (tagNameIt == tagNameMap.end()) - return None; + return std::nullopt; return tagNameIt->attr; } |