forked from OSchip/llvm-project
13 lines
349 B
TableGen
13 lines
349 B
TableGen
// Check that tools without associated actions are accepted.
|
|
// RUN: tblgen -I %p/../../include --gen-llvmc %s | grep dummy_tool
|
|
|
|
include "llvm/CompilerDriver/Common.td"
|
|
|
|
def dummy_tool : Tool<[
|
|
(cmd_line "dummy_cmd $INFILE"),
|
|
(in_language "dummy"),
|
|
(out_language "dummy")
|
|
]>;
|
|
|
|
def DummyGraph : CompilationGraph<[SimpleEdge<"root", "dummy_tool">]>;
|