[PATCH] D11784: [PATCH] clang-tidy check for incorrect move constructor initializers
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 10 09:52:15 PDT 2015
aaron.ballman added a comment.
FWIW, this patch almost caught a bug in LLVM. ;-) DependenceAnalysis.h has a class: FullDependence which would suffer from this problem if the Dependence base class did not accidentally suppress creation of the move constructor by defaulting only the copy constructor. (Separate patch forthcoming.) I think that may be a reasonable option for this patch to test for, but wasn't quite certain. What do others think?
More information about the cfe-commits