[PATCH] D33497: [clang-tidy] check for __func__/__FUNCTION__ in lambdas

Bryce Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 24 12:55:34 PDT 2017


brycel updated this revision to Diff 100149.
brycel added a comment.
Herald added a subscriber: xazax.hun.

Addressed the following review comments:

- Added a test to make sure we don't warn on __PRETTY_FUNCTION__
- Suppressed warnings when in a macro that also uses __FILE__ and __LINE__
- Updated docs/ReleaseNotes.rst.


https://reviews.llvm.org/D33497

Files:
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/LambdaFunctionNameCheck.cpp
  clang-tidy/misc/LambdaFunctionNameCheck.h
  clang-tidy/misc/MiscTidyModule.cpp
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/misc-lambda-function-name.rst
  test/clang-tidy/misc-lambda-function-name.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33497.100149.patch
Type: text/x-patch
Size: 11080 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170524/f74d03d9/attachment-0001.bin>


More information about the cfe-commits mailing list