[PATCH] D103025: [analyzer] Handle NTTP invocation in CallContext.getCalleeDecl()

Tomasz KamiƄski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 24 07:06:29 PDT 2021


tomasz-kaminski-sonarsource added a comment.

The alternative solution, that I think may be preferable is to remove following functions from CheckerContext and use CallEvent.getDecl() instead:

  const FunctionDecl *getCalleeDecl(const CallExpr *CE) const;
  StringRef getCalleeName(const FunctionDecl *FunDecl) const;
  const IdentifierInfo *getCalleeIdentifier(const CallExpr *CE) const;


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103025



More information about the cfe-commits mailing list