annotate clang/test/Analysis/exploded-graph-rewriter/macros.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children 0572611fdcc8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // FIXME: Figure out how to use %clang_analyze_cc1 with our lit.local.cfg.
anatofuz
parents:
diff changeset
2 // RUN: %clang_cc1 -analyze -triple x86_64-unknown-linux-gnu \
anatofuz
parents:
diff changeset
3 // RUN: -analyzer-checker=core \
anatofuz
parents:
diff changeset
4 // RUN: -analyzer-dump-egraph=%t.dot %s
anatofuz
parents:
diff changeset
5 // RUN: %exploded_graph_rewriter %t.dot | FileCheck %s
anatofuz
parents:
diff changeset
6 // REQUIRES: asserts
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 // FIXME: Substitution doesn't seem to work on Windows.
anatofuz
parents:
diff changeset
9 // UNSUPPORTED: system-windows
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 // CHECK: macros.c:<b>17</b>:<b>10</b>
anatofuz
parents:
diff changeset
12 // CHECK-SAME: <font color="royalblue1">
anatofuz
parents:
diff changeset
13 // CHECK-SAME: (<i>spelling at </i> macros.c:<b>15</b>:<b>14</b>)
anatofuz
parents:
diff changeset
14 // CHECK-SAME: </font>
anatofuz
parents:
diff changeset
15 #define NULL 0
anatofuz
parents:
diff changeset
16 void *foo() {
anatofuz
parents:
diff changeset
17 return NULL;
anatofuz
parents:
diff changeset
18 }