[PATCH] D77410: [analyzer] StdLibraryFunctionsChecker: match signature based on FunctionDecl

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 6 01:36:25 PDT 2020


balazske added inline comments.


================
Comment at: clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:553
+    QualType ActualT = FD->getParamDecl(I)->getType().getCanonicalType();
     assert(ActualT.isCanonical());
     if (ActualT != FormalT)
----------------
This assert can be removed, after the previous `getCanonicalType` call it looks redundant.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77410





More information about the cfe-commits mailing list