[PATCH] D12231: Add use-auto check to modernize module.

Angel Garcia via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 21 05:12:56 PDT 2015


angelgarcia updated this revision to Diff 32815.
angelgarcia marked 10 inline comments as done.
angelgarcia added a comment.

Fix comments.

I did not include the 'hasDeclaration()" call in the 'standardIterator' function because its return type is
internal::PolymorphicMatcherWithParam1< internal::HasDeclarationMatcher, internal::Matcher<Decl>, void(internal::HasDeclarationSupportedTypes)>


http://reviews.llvm.org/D12231

Files:
  clang-tidy/modernize/CMakeLists.txt
  clang-tidy/modernize/ModernizeTidyModule.cpp
  clang-tidy/modernize/UseAutoCheck.cpp
  clang-tidy/modernize/UseAutoCheck.h
  test/clang-tidy/Inputs/modernize-use-auto/containers.h
  test/clang-tidy/modernize-use-auto-iterator.cpp
  test/clang-tidy/modernize-use-auto-new.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12231.32815.patch
Type: text/x-patch
Size: 40205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150821/85cca6c0/attachment-0001.bin>


More information about the cfe-commits mailing list