[PATCH] Add a KeepVirtual option to misc-use-override
Ehsan Akhgari
ehsan.akhgari at gmail.com
Sun Apr 26 17:43:15 PDT 2015
Hi alexfh,
Currently, clang-tidy will complain about the virtual keyword for
override and final methods. Some coding styles such as Mozilla doesn't
prohibit the usage of the virtual keyword.
This patch adds a KeepVirtual option for the misc-use-override check to
instruct it to ignore existing virtual keywords.
http://reviews.llvm.org/D9285
Files:
clang-tidy/misc/UseOverrideCheck.cpp
clang-tidy/misc/UseOverrideCheck.h
test/clang-tidy/misc-use-override-keep-virtual.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9285.24448.patch
Type: text/x-patch
Size: 10921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150427/f5587d76/attachment.bin>
More information about the cfe-commits
mailing list