[PATCH] [clang-tidy] Add a checker that flags all instances of overloaded unary operator&

Benjamin Kramer benny.kra at gmail.com
Mon Jul 14 09:27:45 PDT 2014


Hi alexfh, djasper,

This handles both methods and freestanding overloads.

http://reviews.llvm.org/D4498

Files:
  clang-tidy/google/GoogleTidyModule.cpp
  clang-tidy/google/OverloadedUnaryAndCheck.cpp
  clang-tidy/google/OverloadedUnaryAndCheck.h
  test/clang-tidy/google-overloaded-unary-and.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4498.11387.patch
Type: text/x-patch
Size: 4602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140714/704bbe36/attachment.bin>


More information about the cfe-commits mailing list