summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitfc905c64ab242f84be42c7c0dcfce862e917bf72 (patch)
tree9c1c081d5263ef3da857a1cad07d363076264494 /llvm/tools/llvmc2/CompilationGraph.h
parentbaacf0d69287be6d88d545dfa266e1137626af24 (diff)
downloadbcm5719-llvm-fc905c64ab242f84be42c7c0dcfce862e917bf72.tar.gz
bcm5719-llvm-fc905c64ab242f84be42c7c0dcfce862e917bf72.zip
Add -x option (like in gcc).
llvm-svn: 50750
Diffstat (limited to 'llvm/tools/llvmc2/CompilationGraph.h')
-rw-r--r--llvm/tools/llvmc2/CompilationGraph.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvmc2/CompilationGraph.h b/llvm/tools/llvmc2/CompilationGraph.h
index 72cde9a9e24..4692e5155d7 100644
--- a/llvm/tools/llvmc2/CompilationGraph.h
+++ b/llvm/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);
OpenPOWER on IntegriCloud