Deleted Added
full compact
Tool.h (207619) Tool.h (208600)
1//===--- Tool.h - Compilation Tools -----------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 16 unchanged lines hidden (view full) ---

25
26 typedef llvm::SmallVector<InputInfo, 4> InputInfoList;
27
28/// Tool - Information on a specific compilation tool.
29class Tool {
30 /// The tool name (for debugging).
31 const char *Name;
32
1//===--- Tool.h - Compilation Tools -----------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 16 unchanged lines hidden (view full) ---

25
26 typedef llvm::SmallVector<InputInfo, 4> InputInfoList;
27
28/// Tool - Information on a specific compilation tool.
29class Tool {
30 /// The tool name (for debugging).
31 const char *Name;
32
33 /// The human readable name for the tool, for use in diagnostics.
34 const char *ShortName;
35
33 /// The tool chain this tool is a part of.
34 const ToolChain &TheToolChain;
35
36public:
36 /// The tool chain this tool is a part of.
37 const ToolChain &TheToolChain;
38
39public:
37 Tool(const char *Name, const ToolChain &TC);
40 Tool(const char *Name, const char *ShortName,
41 const ToolChain &TC);
38
39public:
40 virtual ~Tool();
41
42 const char *getName() const { return Name; }
43
42
43public:
44 virtual ~Tool();
45
46 const char *getName() const { return Name; }
47
48 const char *getShortName() const { return ShortName; }
49
44 const ToolChain &getToolChain() const { return TheToolChain; }
45
46 virtual bool acceptsPipedInput() const = 0;
47 virtual bool canPipeOutput() const = 0;
48 virtual bool hasIntegratedAssembler() const { return false; }
49 virtual bool hasIntegratedCPP() const = 0;
50
51 /// \brief Does this tool have "good" standardized diagnostics, or should the

--- 23 unchanged lines hidden ---
50 const ToolChain &getToolChain() const { return TheToolChain; }
51
52 virtual bool acceptsPipedInput() const = 0;
53 virtual bool canPipeOutput() const = 0;
54 virtual bool hasIntegratedAssembler() const { return false; }
55 virtual bool hasIntegratedCPP() const = 0;
56
57 /// \brief Does this tool have "good" standardized diagnostics, or should the

--- 23 unchanged lines hidden ---