aboutsummaryrefslogtreecommitdiff
path: root/tools/llvmc2/CompilationGraph.h
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-05-06 18:10:53 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-05-06 18:10:53 +0000
commit87416b4cea4748a5d2c40c15b58e1a4a3310cd9f (patch)
treefe4aff89cabddd88432a002f49db8c71ebe3a8d1 /tools/llvmc2/CompilationGraph.h
parent35a85e845302802be5191dd5c75ccea9eedea1be (diff)
Add -x option (like in gcc).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc2/CompilationGraph.h')
-rw-r--r--tools/llvmc2/CompilationGraph.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/llvmc2/CompilationGraph.h b/tools/llvmc2/CompilationGraph.h
index 72cde9a9e2..4692e5155d 100644
--- a/tools/llvmc2/CompilationGraph.h
+++ b/tools/llvmc2/CompilationGraph.h
@@ -165,7 +165,8 @@ namespace llvmc {
const llvm::sys::Path& TempDir) const;
// Find head of the toolchain corresponding to the given file.
- const Node* FindToolChain(const llvm::sys::Path& In) const;
+ const Node* FindToolChain(const llvm::sys::Path& In,
+ const std::string* forceLanguage) const;
// Sort the nodes in topological order.
void TopologicalSort(std::vector<const Node*>& Out);