Coverage Report

Created: 2019-07-24 05:18

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/tools/clang/include/clang/StaticAnalyzer/Core/Analyses.def
Line
Count
Source (jump to first uncovered line)
1
0
//===-- Analyses.def - Metadata about Static Analyses -----------*- C++ -*-===//
2
0
//
3
0
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
0
// See https://llvm.org/LICENSE.txt for license information.
5
0
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
0
//
7
0
//===----------------------------------------------------------------------===//
8
0
//
9
0
//  This file defines the set of static analyses used by AnalysisConsumer.
10
0
//
11
0
//===----------------------------------------------------------------------===//
12
0
13
#ifndef ANALYSIS_STORE
14
#define ANALYSIS_STORE(NAME, CMDFLAG, DESC, CREATFN)
15
#endif
16
17
159
ANALYSIS_STORE(RegionStore, "region", "Use region-based analyzer store", CreateRegionStoreManager)
18
0
19
#ifndef ANALYSIS_CONSTRAINTS
20
#define ANALYSIS_CONSTRAINTS(NAME, CMDFLAG, DESC, CREATFN)
21
#endif
22
23
1.79k
ANALYSIS_CONSTRAINTS(RangeConstraints, "range", "Use constraint tracking of concrete value ranges", CreateRangeConstraintManager)
24
888
ANALYSIS_CONSTRAINTS(Z3Constraints, "z3", "Use Z3 contraint solver", CreateZ3ConstraintManager)
25
0
26
#ifndef ANALYSIS_DIAGNOSTICS
27
#define ANALYSIS_DIAGNOSTICS(NAME, CMDFLAG, DESC, CREATEFN)
28
#endif
29
30
216
ANALYSIS_DIAGNOSTICS(HTML, "html", "Output analysis results using HTML", createHTMLDiagnosticConsumer)
31
193
ANALYSIS_DIAGNOSTICS(HTML_SINGLE_FILE, "html-single-file", "Output analysis results using HTML (not allowing for multi-file bugs)", createHTMLSingleFileDiagnosticConsumer)
32
223
ANALYSIS_DIAGNOSTICS(PLIST, "plist", "Output analysis results using Plists", createPlistDiagnosticConsumer)
33
209
ANALYSIS_DIAGNOSTICS(PLIST_MULTI_FILE, "plist-multi-file", "Output analysis results using Plists (allowing for multi-file bugs)", createPlistMultiFileDiagnosticConsumer)
34
191
ANALYSIS_DIAGNOSTICS(PLIST_HTML, "plist-html", "Output analysis results using HTML wrapped with Plists", createPlistHTMLDiagnosticConsumer)
35
192
ANALYSIS_DIAGNOSTICS(SARIF, "sarif", "Output analysis results in a SARIF file", createSarifDiagnosticConsumer)
36
190
ANALYSIS_DIAGNOSTICS(TEXT, "text", "Text output of analysis results", createTextPathDiagnosticConsumer)
37
1.23k
38
#ifndef ANALYSIS_PURGE
39
#define ANALYSIS_PURGE(NAME, CMDFLAG, DESC)
40
#endif
41
42
1.23k
ANALYSIS_PURGE1
(PurgeStmt, "statement", "Purge symbols, bindings, and constraints before every statement")
43
1.23k
ANALYSIS_PURGE1
(PurgeBlock, "block", "Purge symbols, bindings, and constraints before every basic block")
44
1.23k
ANALYSIS_PURGE1
(PurgeNone, "none", "Do not purge symbols, bindings, or constraints")
45
1.23k
46
#ifndef ANALYSIS_INLINING_MODE
47
#define ANALYSIS_INLINING_MODE(NAME, CMDFLAG, DESC)
48
#endif
49
50
1.23k
ANALYSIS_INLINING_MODE0
(All, "all", "Analyze all functions as top level")
51
1.23k
ANALYSIS_INLINING_MODE0
(NoRedundancy, "noredundancy", "Do not analyze a function which has been previously inlined")
52
1.23k
53
1.23k
#undef ANALYSIS_STORE
54
1.23k
#undef ANALYSIS_CONSTRAINTS
55
1.23k
#undef ANALYSIS_DIAGNOSTICS
56
1.23k
#undef ANALYSIS_PURGE
57
1.23k
#undef ANALYSIS_INLINING_MODE
58
1.23k
#undef ANALYSIS_IPA
59
1.23k