brintos

brintos / llvm-project-archived public Read only

0
0
Text · 349 B · b344d16 Raw
8 lines · cpp
1// RUN: cp %s %t.cpp2// RUN: clang-include-cleaner -edit %t.cpp -- -I%S/Inputs/modules -fimplicit-module-maps -fmodules-strict-decluse -fmodule-name=XA3// RUN: FileCheck --match-full-lines --check-prefix=EDIT %s < %t.cpp4 5// Verify the tool still works on compilable-but-layering-violation code.6#include "a.h"7// EDIT-NOT: {{^}}#include "a.h"{{$}}8