diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-30 06:10:19 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-30 06:10:19 +0000 |
commit | b5ccfbf0a977504476f740cab14cc5ffc332575b (patch) | |
tree | 34a9c2b785ed9c72d2b8026aea39f1134af6db84 /tools/llvmc2/CompilationGraph.cpp | |
parent | e5557f4da417388d54c102ad7dd046237487bce3 (diff) |
Make it possible to use the generalised 'case' construct in the cmd_line property.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51728 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc2/CompilationGraph.cpp')
-rw-r--r-- | tools/llvmc2/CompilationGraph.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvmc2/CompilationGraph.cpp b/tools/llvmc2/CompilationGraph.cpp index e06a1688ed..7ce431341b 100644 --- a/tools/llvmc2/CompilationGraph.cpp +++ b/tools/llvmc2/CompilationGraph.cpp @@ -177,7 +177,7 @@ void CompilationGraph::PassThroughGraph (const sys::Path& InFile, Out = MakeTempFile(TempDir, In.getBasename(), CurTool->OutputSuffix()); } - if (int ret = CurTool->GenerateAction(In, Out).Execute()) + if (int ret = CurTool->GenerateAction(In, Out, InLangs).Execute()) throw error_code(ret); if (Last) @@ -343,7 +343,7 @@ int CompilationGraph::Build (const sys::Path& TempDir) { Out = MakeTempFile(TempDir, "tmp", JT->OutputSuffix()); } - if (int ret = JT->GenerateAction(Out).Execute()) + if (int ret = JT->GenerateAction(Out, InLangs).Execute()) throw error_code(ret); if (!IsLast) { |