]> granicus.if.org Git - clang/commit
Don't warn for the common pattern of disallowing copying:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 15 Aug 2010 10:17:33 +0000 (10:17 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 15 Aug 2010 10:17:33 +0000 (10:17 +0000)
commit06999f8ff61de3c63a52871bd7ac61e7ada9180b
tree46ca8505a05bba600ae63a0ea6bef8aca2a36ee9
parent57663fe6c3c7a0fb792626537c4f3f7d3594aa66
Don't warn for the common pattern of disallowing copying:

class S {
  S(const S&); // DO NOT IMPLEMENT
  void operator=(const S&); // DO NOT IMPLEMENT
};

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111100 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaCXX/warn-unused-filescoped.cpp