njames93 added a comment.

If you need help for the test case. Create a file in the 
`clang-tools-extra/test/clang-tidy/checkers`. 
Name it something like `misc-unconventional-assign-operator-pre11.cpp` and 
paste this in

  // RUN: %check_clang_tidy -std=c++98,c++03 %s 
misc-unconventional-assign-operator %t
  
  struct BadArgument {
    BadArgument& operator=(BadArgument&);
    // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: operator=() should take 
'BadArgument const&' or 'BadArgument'
  };


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75901/new/

https://reviews.llvm.org/D75901



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to