Add PR check to suggest alternatives to using undef (#118506)
[llvm-project.git] / clang / test / Format / language-detection.cpp
blob72e2146c54a3ac0b797c2f828bf2bece20c2df61
1 // RUN: grep -Ev "// *[A-Z0-9_]+:" %s \
2 // RUN: | clang-format -style=LLVM -assume-filename=foo.js \
3 // RUN: | FileCheck -strict-whitespace -check-prefix=CHECK1 %s
4 // RUN: grep -Ev "// *[A-Z0-9_]+:" %s \
5 // RUN: | clang-format -style=LLVM -assume-filename=foo.cpp \
6 // RUN: | FileCheck -strict-whitespace -check-prefix=CHECK2 %s
7 // CHECK1: {{^a >>>= b;$}}
8 // CHECK2: {{^a >> >= b;$}}
9 a >>>= b;