• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download

f()1 int f() {
2   int zzz = 200;
3   zzz += 100;
4   return 0;
5 }
6 
7 // Show line with the warning even if it wasn't executed (e.g. warning given
8 // by path-insensitive analysis).
9 // RUN: rm -rf %t.output
10 // RUN: %clang_analyze_cc1 -analyze -analyzer-checker=core,deadcode -analyzer-output html -o %t.output %s
11 // RUN: cat %t.output/* | FileCheck %s --match-full-lines
12 // CHECK: var relevant_lines = {"1": {"3": 1}};
13