[PATCH] D35972: Add warning to clang-reorder-fields when reordering breaks member init list dependencies
Alexander Shaposhnikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 27 21:40:49 PDT 2017
alexshap added inline comments.
================
Comment at: test/clang-reorder-fields/FieldDependencyWarning.cpp:3
+
+#include <string>
+
----------------
tests should not depend on STL (for good examples see how things are done in clang-tidy tests), so simply remove this include and define a small class with a constructor right here
Repository:
rL LLVM
https://reviews.llvm.org/D35972
More information about the cfe-commits
mailing list