[PATCH] D56444: [AST] RecursiveASTVisitor visits lambda classes when implicit visitation is on.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 9 00:09:08 PST 2019


sammccall updated this revision to Diff 180796.
sammccall added a comment.

Ignore lambdas in FunctionSizeCheck (functionDecl() now matches their operator()).

I think they should probably be included, but don't want to change the check
semantics in this patch.


Repository:
  rC Clang

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

https://reviews.llvm.org/D56444

Files:
  include/clang/AST/RecursiveASTVisitor.h
  lib/CodeGen/CodeGenPGO.cpp
  lib/Sema/AnalysisBasedWarnings.cpp
  unittests/AST/ASTContextParentMapTest.cpp
  unittests/Tooling/RecursiveASTVisitorTests/LambdaExpr.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56444.180796.patch
Type: text/x-patch
Size: 8379 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190109/01cfee94/attachment.bin>


More information about the cfe-commits mailing list