[ELF] Avoid make in elf::writeARMCmseImportLib
[llvm-project.git] / clang / test / Analysis / deprecated-flags-and-options.cpp
blob588e27c4839febb836fb421789a9687b189a935c
1 // RUN: not %clang_analyze_cc1 -analyzer-checker=core -analyzer-store=region %s 2>&1 \
2 // RUN: | FileCheck %s --check-prefixes=DEPRECATED-STORE
3 // DEPRECATED-STORE: error: unknown argument: '-analyzer-store=region'
5 // RUN: not %clang_analyze_cc1 -analyzer-checker=core -analyzer-opt-analyze-nested-blocks %s 2>&1 \
6 // RUN: | FileCheck %s --check-prefixes=DEPRECATED-NESTED-BLOCKS
7 // DEPRECATED-NESTED-BLOCKS: error: unknown argument: '-analyzer-opt-analyze-nested-blocks'
9 // RUN: not %clang_analyze_cc1 -analyzer-checker=core -analyzer-config consider-single-element-arrays-as-flexible-array-members=true %s 2>&1 \
10 // RUN: | FileCheck %s --check-prefixes=DEPRECATED-SINGLE-ELEM-FAM
11 // DEPRECATED-SINGLE-ELEM-FAM: error: unknown analyzer-config 'consider-single-element-arrays-as-flexible-array-members'
14 void empty() {}