[PATCH] D58731: [clang-tidy] added cppcoreguidelines-explicit-virtual-functions

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 27 14:27:47 PST 2019


alexfh added inline comments.


================
Comment at: test/clang-tidy/modernize-use-override-no-destructors.cpp:6
+struct Base {
+  virtual ~Base(){};
+  virtual void f(){};
----------------
Remove the semicolons after methods. Clang-format the test (but ensure clang-format doesn't break comments at the 80 character bound).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58731/new/

https://reviews.llvm.org/D58731





More information about the cfe-commits mailing list