[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.

  rG LLVM Github Monorepo



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() & {

-------------- 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