njames93 added a comment.

Please add a test case for this



================
Comment at: 
clang-tools-extra/clang-tidy/misc/UnconventionalAssignOperatorCheck.cpp:76-77
   } else {
+    const ASTContext *ASTCtx = Result.Context;
+    const LangOptions &Opts = ASTCtx->getLangOpts();
     static const char *const Messages[][2] = {
----------------
Remove these lines and change below to be `getLangOpts().CPlusPlus11`. 
`getLangOpts()` is a protected method in `ClangTidyCheck`


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