[PATCH] D52691: [clang-tidy] NFC use CHECK-NOTES in tests for performance-move-constructor-init

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 2 06:10:30 PDT 2018


JonasToth added inline comments.


================
Comment at: test/clang-tidy/check_clang_tidy.py:172
            '-check-prefix=' + check_notes_prefix,
-           '-implicit-check-not={{note|warning|error}}:'],
+           '-implicit-check-not={{{{warning|error}}:|note: (?!FIX-IT)}}'],
           stderr=subprocess.STDOUT)
----------------
lebedev.ri wrote:
> SGTM, if it works.
Unfortunatly didnt work with LLVM regex, doing in python now


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D52691





More information about the cfe-commits mailing list