| 1 | // RUN: rm -rf %t |
| 2 | // RUN: cp -r %S/Inputs/remarks %t |
| 3 | // RUN: cp %s %t/t.cpp |
| 4 | |
| 5 | // RUN: clang-tidy -checks='-*,modernize-use-override,clang-diagnostic-module-import' %t/t.cpp -- \ |
| 6 | // RUN: -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache \ |
| 7 | // RUN: -fsyntax-only \ |
| 8 | // RUN: -I%S/Inputs/remarks \ |
| 9 | // RUN: -working-directory=%t \ |
| 10 | // RUN: -Rmodule-build -Rmodule-import 2>&1 |\ |
| 11 | // RUN: FileCheck %s -implicit-check-not "remark:" |
| 12 | |
| 13 | #include "A.h" |
| 14 | // CHECK: remark: importing module 'A' from {{.*}} [clang-diagnostic-module-import] |
| 15 | |