[PATCH] D26710: [LLVM] Fix some Clang-tidy modernize-use-default, modernize-use-equals-delete and Include What You Use warnings; other minor fixes

Malcolm Parsons via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 16 03:31:31 PST 2016


malcolm.parsons added inline comments.


================
Comment at: include/llvm/Support/CommandLine.h:487
 public:
-  OptionValueCopy() : Valid(false) {}
+  OptionValueCopy() = default;
 
----------------
mehdi_amini wrote:
> Is there a clang-tidy check that does that? That's neat!
Not yet!


Repository:
  rL LLVM

https://reviews.llvm.org/D26710





More information about the llvm-commits mailing list