[PATCH] D128246: [ADT][NFC] Remove unuse code
Pretty-box via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 21 00:28:09 PDT 2022
Pretty-box created this revision.
Pretty-box added reviewers: benshi001, kazu.
Pretty-box added projects: LLVM, All.
Pretty-box requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D128246
Files:
clang/include/clang/Basic/DirectoryEntry.h
Index: clang/include/clang/Basic/DirectoryEntry.h
===================================================================
--- clang/include/clang/Basic/DirectoryEntry.h
+++ clang/include/clang/Basic/DirectoryEntry.h
@@ -131,7 +131,6 @@
void reset() { MaybeRef = optional_none_tag(); }
bool has_value() const { return MaybeRef.hasOptionalValue(); }
- bool hasValue() const { return MaybeRef.hasOptionalValue(); }
RefTy &value() & {
assert(has_value());
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128246.438574.patch
Type: text/x-patch
Size: 467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220621/cbf6440d/attachment.bin>
More information about the cfe-commits
mailing list