aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorAmy Kwan <amy.kwan1@ibm.com>2023-05-15 11:53:12 -0500
committerAmy Kwan <amy.kwan1@ibm.com>2023-05-15 12:18:06 -0500
commit2239fd50bd807ce32c54e03d548cc0cc7c6e64dd (patch)
treedfff1b2522d0cf7cfdb5838f15a303b728ec8206 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent8ea39c066c57ddf8a4ab6ebe49831d6a37ce085f (diff)
downloadllvm-2239fd50bd807ce32c54e03d548cc0cc7c6e64dd.zip
llvm-2239fd50bd807ce32c54e03d548cc0cc7c6e64dd.tar.gz
llvm-2239fd50bd807ce32c54e03d548cc0cc7c6e64dd.tar.bz2
Fix build failure caused by https://reviews.llvm.org/D150352
This patch fixes the following build error on the clang-ppc64le-rhel bot seen in in https://lab.llvm.org/buildbot/#/builders/57/builds/26816/steps/5/logs/stdio: FAILED: tools/clang/tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UncheckedOptionalAccessCheck.cpp.o .../clang-ppc64le-rhel/llvm-project/clang-tools-extra/clang-tidy/bugprone/UncheckedOptionalAccessCheck.cpp:43:27: error: 'build' is deprecated: Use the version that takes a const Decl & instead [-Werror,-Wdeprecated-declarations] ControlFlowContext::build(&FuncDecl, *FuncDecl.getBody(), ASTCtx); ^ .../ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/clang/include/clang/Analysis/FlowSensitive/ControlFlowContext.h:41:3: note: 'build' has been explicitly marked deprecated here LLVM_DEPRECATED("Use the version that takes a const Decl & instead", "") ^ .../clang-ppc64le-rhel/llvm-project/llvm/include/llvm/Support/Compiler.h:143:50: note: expanded from macro 'LLVM_DEPRECATED' #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) ^ 1 error generated.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions