aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CompilerDriver/Tool.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-03-20 06:14:56 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-03-20 06:14:56 +0000
commitb518c25b3e3ec03da389ca48910ded42ca1305e3 (patch)
treecbac85da99da4436cceedd26f6d06e03f153dfd4 /include/llvm/CompilerDriver/Tool.h
parent682eed0da8e42770a0e694390ba929fd4d241657 (diff)
If a class inherits from RefCountedBaseVPTR allow all its subclasses to be used with IntrusiveRefCntPtr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127966 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CompilerDriver/Tool.h')
-rw-r--r--include/llvm/CompilerDriver/Tool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CompilerDriver/Tool.h b/include/llvm/CompilerDriver/Tool.h
index d0926ba983..18a2b76792 100644
--- a/include/llvm/CompilerDriver/Tool.h
+++ b/include/llvm/CompilerDriver/Tool.h
@@ -33,7 +33,7 @@ namespace llvmc {
typedef llvm::StringSet<> InputLanguagesSet;
/// Tool - Represents a single tool.
- class Tool : public llvm::RefCountedBaseVPTR<Tool> {
+ class Tool : public llvm::RefCountedBaseVPTR {
public:
virtual ~Tool() {}