diff options
author | Kazu Hirata <kazu@google.com> | 2022-06-20 20:17:57 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-06-20 20:17:57 -0700 |
commit | 0916d96d12fda355933a8f66ed2a1ccc855cab9c (patch) | |
tree | b947652ee49c65ae7b4fd30376804749b4de7f29 /clang/lib/Lex/HeaderSearch.cpp | |
parent | 064a08cd955019da9130f1109bfa534e79b8ec7c (diff) | |
download | llvm-0916d96d12fda355933a8f66ed2a1ccc855cab9c.zip llvm-0916d96d12fda355933a8f66ed2a1ccc855cab9c.tar.gz llvm-0916d96d12fda355933a8f66ed2a1ccc855cab9c.tar.bz2 |
Don't use Optional::hasValue (NFC)
Diffstat (limited to 'clang/lib/Lex/HeaderSearch.cpp')
-rw-r--r-- | clang/lib/Lex/HeaderSearch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/HeaderSearch.cpp b/clang/lib/Lex/HeaderSearch.cpp index 85804bc..60fd42b 100644 --- a/clang/lib/Lex/HeaderSearch.cpp +++ b/clang/lib/Lex/HeaderSearch.cpp @@ -626,7 +626,7 @@ Optional<FileEntryRef> DirectoryLookup::DoFrameworkLookup( // Set out flags. InUserSpecifiedSystemFramework = CacheEntry.IsUserSpecifiedSystemFramework; - IsFrameworkFound = CacheEntry.Directory.hasValue(); + IsFrameworkFound = CacheEntry.Directory.has_value(); if (RelativePath) { RelativePath->clear(); |