[PATCH] D79423: [analyzer][NFC] StdLibraryFunctionsChecker: Add empty Signatures

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 6 08:35:43 PDT 2020


martong added inline comments.


================
Comment at: clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:263
     bool matches(const FunctionDecl *FD) const;
+    bool empty() const { return RetTy.isNull() && ArgTys.size() == 0; }
 
----------------
TODO rename to isIrrelevant.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79423





More information about the cfe-commits mailing list