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

Bryce Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 2 09:04:24 PDT 2017


brycel updated this revision to Diff 101224.
brycel added a comment.

Move namespace-level types to class-level to avoid potential future name conflicts.


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.101224.patch
Type: text/x-patch
Size: 11558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170602/e131a944/attachment-0001.bin>


More information about the cfe-commits mailing list