4 # Make sure compile flags are adjusted for clangd. `--save-temps` creates a
5 # `.ii` file and `-verify` triggers extra diagnostics generation. Clangd should
7 # RUN: clangd-indexer %t.cpp -- -Xclang -verify --save-temps -- 2>&1 | FileCheck %s
8 # CHECK-NOT: error: no expected directives found: consider use of 'expected-no-diagnostics'