aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJie Fu <jiefu@tencent.com>2023-04-25 11:54:16 +0800
committerJie Fu <jiefu@tencent.com>2023-04-25 11:54:16 +0800
commit7cfc1af1556943773c02f765bff374304609fd07 (patch)
treee74527123e523b51f1236368812cff066dd142ac /clang/lib/Frontend/CompilerInvocation.cpp
parent65eedcebdc03052959508911417bac548009652a (diff)
downloadllvm-7cfc1af1556943773c02f765bff374304609fd07.zip
llvm-7cfc1af1556943773c02f765bff374304609fd07.tar.gz
llvm-7cfc1af1556943773c02f765bff374304609fd07.tar.bz2
[RISCV] Fix -Wdeprecated-declarations in RISCVInstrInfo.cpp (NFC)
/Users/jiefu/llvm-project/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp:2636:10: error: 'makeArrayRef<std::pair<llvm::MachineMemOperand::Flags, const char *>, 2UL>' is deprecated: Use deduction guide instead [-Werror,-Wdeprecated-declarations] return makeArrayRef(TargetFlags); ^~~~~~~~~~~~ ArrayRef /Users/jiefu/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:572:3: note: 'makeArrayRef<std::pair<llvm::MachineMemOperand::Flags, const char *>, 2UL>' has been explicitly marked deprecated here LLVM_DEPRECATED("Use deduction guide instead", "ArrayRef") ^ /Users/jiefu/llvm-project/llvm/include/llvm/Support/Compiler.h:143:50: note: expanded from macro 'LLVM_DEPRECATED' ^ 1 error generated.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions