uabelho added a comment.

Hello,

  
../../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);
                            ^
  ../../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", "")
    ^
  ../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.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150352/new/

https://reviews.llvm.org/D150352

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to