Skip to content

Commit 06bc20e

Browse files
authored
Change --function default to * (#364)
1 parent 50d4f21 commit 06bc20e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/cgeist/Test/Verification/memref-fullrank.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: cgeist %s -S -memref-fullrank -O0 | FileCheck %s
1+
// RUN: cgeist %s -S --function=main -memref-fullrank -O0 | FileCheck %s
22

33
#include <stdio.h>
44

tools/cgeist/driver.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ static cl::opt<std::string> Output("o", cl::init("-"), cl::desc("Output file"));
200200

201201
static cl::opt<std::string> cfunction("function",
202202
cl::desc("<Specify function>"),
203-
cl::init("main"), cl::cat(toolOptions));
203+
cl::init("*"), cl::cat(toolOptions));
204204

205205
static cl::opt<bool> FOpenMP("fopenmp", cl::init(false),
206206
cl::desc("Enable OpenMP"));

0 commit comments

Comments
 (0)