[llvm-commits] CVS: llvm/include/llvm/Support/ToolRunner.h
Reid Spencer
reid at x10sys.com
Sun Dec 19 09:59:56 PST 2004
Changes in directory llvm/include/llvm/Support:
ToolRunner.h updated: 1.16 -> 1.17
---
Log message:
For PR351: http://llvm.cs.uiuc.edu/PR351 :
Turn path instance variables into sys::Path instead of std::string
---
Diffs of the changes: (+4 -4)
Index: llvm/include/llvm/Support/ToolRunner.h
diff -u llvm/include/llvm/Support/ToolRunner.h:1.16 llvm/include/llvm/Support/ToolRunner.h:1.17
--- llvm/include/llvm/Support/ToolRunner.h:1.16 Thu Dec 16 17:01:34 2004
+++ llvm/include/llvm/Support/ToolRunner.h Sun Dec 19 11:59:45 2004
@@ -44,8 +44,8 @@
// GCC abstraction
//
class GCC {
- std::string GCCPath; // The path to the gcc executable
- GCC(const std::string &gccPath) : GCCPath(gccPath) { }
+ sys::Path GCCPath; // The path to the gcc executable
+ GCC(const sys::Path &gccPath) : GCCPath(gccPath) { }
public:
enum FileType { AsmFile, CFile };
@@ -118,11 +118,11 @@
// CBE Implementation of AbstractIntepreter interface
//
class CBE : public AbstractInterpreter {
- std::string LLCPath; // The path to the `llc' executable
+ sys::Path LLCPath; // The path to the `llc' executable
std::vector<std::string> ToolArgs; // Extra args to pass to LLC
GCC *gcc;
public:
- CBE(const std::string &llcPath, GCC *Gcc,
+ CBE(const sys::Path &llcPath, GCC *Gcc,
const std::vector<std::string> *Args) : LLCPath(llcPath), gcc(Gcc) {
ToolArgs.clear ();
if (Args) { ToolArgs = *Args; }
More information about the llvm-commits
mailing list