[PATCH] D16587: Fixed function params comparison. Updated docs and tests.

Cong Liu via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 26 09:26:01 PST 2016


congliu created this revision.
congliu added a reviewer: alexfh.
congliu added a subscriber: cfe-commits.

"checkParamTypes" may fail if the the type of some parameter is not canonical. Fixed it by comparing canonical types. And added "getCanonicalType()" and "getCanonicalDecl()" on more places to prevent potential fail.

http://reviews.llvm.org/D16587

Files:
  clang-tidy/misc/VirtualNearMissCheck.cpp
  docs/clang-tidy/checks/misc-virtual-near-miss.rst
  test/clang-tidy/misc-virtual-near-miss.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16587.46004.patch
Type: text/x-patch
Size: 4295 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160126/152b6ba2/attachment.bin>


More information about the cfe-commits mailing list