diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 17:59:23 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 17:59:23 +0000 |
commit | 9a83721404652cea39e9f02ae3e3b5c964602a5c (patch) | |
tree | 23e9541ce27049a103f6ed046be61592123e02c9 /test/Analysis/html_diagnostics/relevant_lines/switch_default.c | |
parent | 676fbe8105eeb6ff4bb2ed261cb212fcfdbe7b63 (diff) | |
download | src-9a83721404652cea39e9f02ae3e3b5c964602a5c.tar.gz src-9a83721404652cea39e9f02ae3e3b5c964602a5c.zip |
Remove upstream files and directories from vendor/clang/dist that we do
not use. This saves on repository space, and reduces the number of tree
conflicts when merging.
Notes
Notes:
svn path=/vendor/clang/dist/; revision=351267
Diffstat (limited to 'test/Analysis/html_diagnostics/relevant_lines/switch_default.c')
-rw-r--r-- | test/Analysis/html_diagnostics/relevant_lines/switch_default.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/test/Analysis/html_diagnostics/relevant_lines/switch_default.c b/test/Analysis/html_diagnostics/relevant_lines/switch_default.c deleted file mode 100644 index b14e3f9fa8fd..000000000000 --- a/test/Analysis/html_diagnostics/relevant_lines/switch_default.c +++ /dev/null @@ -1,20 +0,0 @@ -enum E { - A, B, C -}; - -int f(enum E input) { - int *x = 0; - switch (input) { - case A: - return 1; - case B: - return 0; - default: - return *x; - } -} - -// RUN: rm -rf %t.output -// RUN: %clang_analyze_cc1 -analyze -analyzer-checker=core -analyzer-output html -o %t.output %s -// RUN: cat %t.output/* | FileCheck %s --match-full-lines -// CHECK: var relevant_lines = {"1": {"5": 1, "6": 1, "7": 1, "12": 1, "13": 1}}; |