[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / fdiagnostics-show-option.c
bloba574503caceef2eff22569c527a1a9ad980ebbb3
1 /// -fdiagnostics-show-option is the default
2 // RUN: %clang -### -c %s 2>&1 | FileCheck --check-prefix=ENABLED %s
3 // ENABLED-NOT: "-fno-diagnostics-show-option"
5 // RUN: %clang -### -c %s -fdiagnostics-show-option -fno-diagnostics-show-option 2>&1 | \
6 // RUN: FileCheck --check-prefix=DISABLED %s
7 // DISABLED: "-fno-diagnostics-show-option"