-
Clemens Hammacher authored
Before C++11, we were using a hack to disable copy constructors or copy assignment by declaring the methods private and not implementing them. This hack required the respective macros to be placed in the private: declarations of a class. The macros have switched to use the C++11 "= delete" syntax some time ago in both v8 and chromium: https://codereview.chromium.org/1123723003/ https://codereview.chromium.org/2017213002 Also the comments are now updated, since the macros do not need to be in the private: declarations any more: https://chromium-review.googlesource.com/c/577687 https://chromium-review.googlesource.com/c/578027 This change removes the presubmit check that checked that the macros are only used in the private declarations. This is a cherry-pick from https://github.com/google/styleguide/pull/265. R=jochen@chromium.org Change-Id: I224005a17c3de2569b64622e6cf8c9688665637d Reviewed-on: https://chromium-review.googlesource.com/579187Reviewed-by: Jochen Eisinger <jochen@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
e864a3f2