[all-commits] [llvm/llvm-project] 955640: [clang-tidy] Exclude template instantiations in mo...
Piotr Zegar via All-commits
all-commits at lists.llvm.org
Sat Apr 15 03:16:36 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9556409957bbf85ca751ccff8f3a4d981a094b73
https://github.com/llvm/llvm-project/commit/9556409957bbf85ca751ccff8f3a4d981a094b73
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2023-04-15 (Sat, 15 Apr 2023)
Changed paths:
M clang-tools-extra/clang-tidy/modernize/UseOverrideCheck.cpp
M clang-tools-extra/clang-tidy/modernize/UseOverrideCheck.h
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/modernize/use-override.rst
A clang-tools-extra/test/clang-tidy/checkers/modernize/use-override-templates.cpp
Log Message:
-----------
[clang-tidy] Exclude template instantiations in modernize-use-override
Added IgnoreTemplateInstantiations option to modernize-use-override
check. Allows to ignore virtual function overrides that are part of
template instantiations. This can be useful in cases where the use
of the "override" keyword is not appropriate or causes issues with
template specialization.
Fixes #38276.
Reviewed By: carlosgalvezp
Differential Revision: https://reviews.llvm.org/D147924
More information about the All-commits
mailing list