[PATCH] D131847: [llvm] Replace uses of llvm::Any with std::any
Joe Loser via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 13 21:01:10 PDT 2022
jloser created this revision.
jloser added a reviewer: scott.linder.
Herald added a subscriber: hiraditya.
Herald added a project: All.
jloser requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
`llvm::Any` is an equivalent version of `std::any` for use prior to C++17. Now
that a minimum of C++17 standards mode is used for building, use `std::any`
instead.
The use of `llvm::Any` in other projects and eventual removal of `llvm::Any` are
left for follow-up patches.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D131847
Files:
llvm/include/llvm/IR/PassInstrumentation.h
llvm/lib/IR/LLVMContextImpl.h
llvm/lib/Passes/StandardInstrumentations.cpp
llvm/unittests/IR/PassBuilderCallbacksTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131847.452471.patch
Type: text/x-patch
Size: 19825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220814/d900f94d/attachment.bin>
More information about the llvm-commits
mailing list