[all-commits] [llvm/llvm-project] 8a28a2: [clang-tidy][test] Fix test failure when LLVM_ENAB...

Nathan James via All-commits all-commits at lists.llvm.org
Fri Oct 30 16:17:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a28a29c736e6ae88c86a8687e61a62b41e1c430
      https://github.com/llvm/llvm-project/commit/8a28a29c736e6ae88c86a8687e61a62b41e1c430
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-10-30 (Fri, 30 Oct 2020)

  Changed paths:
    M clang-tools-extra/test/clang-tidy/checkers/modernize-replace-disallow-copy-and-assign-macro.cpp

  Log Message:
  -----------
  [clang-tidy][test] Fix test failure when LLVM_ENABLE_WERROR is set.

After https://reviews.llvm.org/D80531 landed, a subtle bug was introduced where the test would fail if `LLVM_ENABLE_WERROR` was set. This just silences that error so the test case runs correctly, down the line it may be worth not enabling `-Werror` for clang-tidy tests even if the cmake flag is passed.




More information about the All-commits mailing list