[PATCH] D147924: [clang-tidy] Exclude template instantiations in modernize-use-override
Carlos Galvez via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 15 02:33:17 PDT 2023
carlosgalvezp added inline comments.
================
Comment at: clang-tools-extra/test/clang-tidy/checkers/modernize/use-override-templates.cpp:46
+ // CHECK-MESSAGES: :[[@LINE-1]]:16: warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override]
+ // CHECK-FIXES: {{^}} void boo3() override;{{$}}
+};
----------------
Same as above, start/end markers seem to not be needed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147924/new/
https://reviews.llvm.org/D147924
More information about the cfe-commits
mailing list