[PATCH] D130140: [ADT] Remove Optional::getValueOr (NFC)
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 25 11:45:09 PDT 2022
dblaikie added a comment.
> I was originally planning to deprecate this method, but I cannot put [[deprecated]] on C++ templates.
Hmm, I'm not sure I understand what you mean. It looks like you could put `[[deprecated]]` on a member function template: https://godbolt.org/z/jG1KxMT1f
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130140/new/
https://reviews.llvm.org/D130140
More information about the llvm-commits
mailing list