summaryrefslogtreecommitdiffstats
path: root/tools/scan-build-py/tests/functional/src/compilation_database/build_broken.json.in
blob: 104a4191cb1b47c974737bba1849466c11373fed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[
{
  "directory": "${path}",
  "command": "g++ -c -o main.o main.c -Wall -DDEBUG -Dvariable=value",
  "file": "${path}/main.c"
}
,
{
  "directory": "${path}",
  "command": "cc -c -o broken-one.o broken-one.c -Wall -DDEBUG \"-Dvariable=value with space\"",
  "file": "${path}/broken-one.c"
}
,
{
  "directory": "${path}",
  "command": "g++ -c -o broken-two.o broken-two.c -Wall -DDEBUG -Dvariable=value",
  "file": "${path}/broken-two.c"
}
,
{
  "directory": "${path}",
  "command": "cc -c -o clean-one.o clean-one.c -Wall -DDEBUG \"-Dvariable=value with space\" -Iinclude",
  "file": "${path}/clean-one.c"
}
,
{
  "directory": "${path}",
  "command": "g++ -c -o clean-two.o clean-two.c -Wall -DDEBUG -Dvariable=value -I ./include",
  "file": "${path}/clean-two.c"
}
,
{
  "directory": "${path}",
  "command": "cc -c -o emit-one.o emit-one.c -Wall -DDEBUG \"-Dvariable=value with space\"",
  "file": "${path}/emit-one.c"
}
,
{
  "directory": "${path}",
  "command": "g++ -c -o emit-two.o emit-two.c -Wall -DDEBUG -Dvariable=value",
  "file": "${path}/emit-two.c"
}
]