summaryrefslogtreecommitdiff
path: root/tools/llvmc/examples/Simple/Simple.td
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-08-23 23:21:23 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-08-23 23:21:23 +0000
commitd9a7316f9a72d8ea98313257ad8752c1dec36b89 (patch)
tree441b9e877c0380880798ef1c6ea7d1919bc340cc /tools/llvmc/examples/Simple/Simple.td
parent49d96380753c8cb93181a5662ed60dbf6034ee67 (diff)
downloadllvm-d9a7316f9a72d8ea98313257ad8752c1dec36b89.tar.gz
llvm-d9a7316f9a72d8ea98313257ad8752c1dec36b89.tar.bz2
llvm-d9a7316f9a72d8ea98313257ad8752c1dec36b89.tar.xz
llvmc: Make syntax more consistent.
CompilationGraph and LanguageMap definitions do not use special syntax anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111862 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc/examples/Simple/Simple.td')
-rw-r--r--tools/llvmc/examples/Simple/Simple.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvmc/examples/Simple/Simple.td b/tools/llvmc/examples/Simple/Simple.td
index 7ceee93d7c..b47483b5d3 100644
--- a/tools/llvmc/examples/Simple/Simple.td
+++ b/tools/llvmc/examples/Simple/Simple.td
@@ -36,6 +36,6 @@ def gcc : Tool<
(out_file_option "-o")
]>;
-def LanguageMap : LanguageMap<[LangToSuffixes<"c", ["c"]>]>;
+def LanguageMap : LanguageMap<[(lang_to_suffixes "c", "c")]>;
-def CompilationGraph : CompilationGraph<[Edge<"root", "gcc">]>;
+def CompilationGraph : CompilationGraph<[(edge "root", "gcc")]>;