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
diff --git a/tools/llvmc2/CompilationGraph.cpp b/tools/llvmc2/CompilationGraph.cpp
index e06a168..7ce4313 100644
--- a/tools/llvmc2/CompilationGraph.cpp
+++ b/tools/llvmc2/CompilationGraph.cpp
@@ -177,7 +177,7 @@
       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 @@
       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) {