diff options
Diffstat (limited to 'include/clang/ASTMatchers/Dynamic/VariantValue.h')
| -rw-r--r-- | include/clang/ASTMatchers/Dynamic/VariantValue.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/clang/ASTMatchers/Dynamic/VariantValue.h b/include/clang/ASTMatchers/Dynamic/VariantValue.h index c391b24a3330e..9f694d0ce4343 100644 --- a/include/clang/ASTMatchers/Dynamic/VariantValue.h +++ b/include/clang/ASTMatchers/Dynamic/VariantValue.h @@ -21,7 +21,6 @@ #include "clang/ASTMatchers/ASTMatchersInternal.h" #include "llvm/ADT/IntrusiveRefCntPtr.h" #include "llvm/ADT/Optional.h" -#include "llvm/ADT/Twine.h" #include <memory> #include <vector> @@ -120,9 +119,9 @@ class VariantMatcher { /// \brief Payload interface to be specialized by each matcher type. /// /// It follows a similar interface as VariantMatcher itself. - class Payload : public RefCountedBaseVPTR { + class Payload : public RefCountedBase<Payload> { public: - ~Payload() override; + virtual ~Payload(); virtual llvm::Optional<DynTypedMatcher> getSingleMatcher() const = 0; virtual std::string getTypeAsString() const = 0; virtual llvm::Optional<DynTypedMatcher> |
