|
1 | 1 | // RUN: %clang_analyze_cc1 -std=c++11 -fblocks %s \ |
2 | | -// RUN: -Wno-alloc-size \ |
3 | 2 | // RUN: -verify=expected,newdelete \ |
4 | 3 | // RUN: -analyzer-checker=core \ |
5 | 4 | // RUN: -analyzer-checker=cplusplus.NewDelete |
6 | 5 | // |
7 | 6 | // RUN: %clang_analyze_cc1 -DLEAKS -std=c++11 -fblocks %s \ |
8 | | -// RUN: -Wno-alloc-size \ |
9 | 7 | // RUN: -verify=expected,newdelete,leak \ |
10 | 8 | // RUN: -analyzer-checker=core \ |
11 | 9 | // RUN: -analyzer-checker=cplusplus.NewDelete \ |
12 | 10 | // RUN: -analyzer-checker=cplusplus.NewDeleteLeaks |
13 | 11 | // |
14 | 12 | // RUN: %clang_analyze_cc1 -std=c++11 -fblocks -verify %s \ |
15 | | -// RUN: -Wno-alloc-size \ |
16 | 13 | // RUN: -verify=expected,leak \ |
17 | 14 | // RUN: -analyzer-checker=core \ |
18 | 15 | // RUN: -analyzer-checker=cplusplus.NewDeleteLeaks |
19 | 16 | // |
20 | 17 | // RUN: %clang_analyze_cc1 -std=c++17 -fblocks %s \ |
21 | | -// RUN: -Wno-alloc-size \ |
22 | 18 | // RUN: -verify=expected,newdelete \ |
23 | 19 | // RUN: -analyzer-checker=core \ |
24 | 20 | // RUN: -analyzer-checker=cplusplus.NewDelete |
25 | 21 | // |
26 | 22 | // RUN: %clang_analyze_cc1 -DLEAKS -std=c++17 -fblocks %s \ |
27 | | -// RUN: -Wno-alloc-size \ |
28 | 23 | // RUN: -verify=expected,newdelete,leak \ |
29 | 24 | // RUN: -analyzer-checker=core \ |
30 | 25 | // RUN: -analyzer-checker=cplusplus.NewDelete \ |
31 | 26 | // RUN: -analyzer-checker=cplusplus.NewDeleteLeaks |
32 | 27 | // |
33 | 28 | // RUN: %clang_analyze_cc1 -std=c++17 -fblocks -verify %s \ |
34 | | -// RUN: -Wno-alloc-size \ |
35 | 29 | // RUN: -verify=expected,leak,inspection \ |
36 | 30 | // RUN: -analyzer-checker=core \ |
37 | 31 | // RUN: -analyzer-checker=cplusplus.NewDeleteLeaks \ |
|
0 commit comments