From c04d0654c3c066bcb8aa18257141f14049420124 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Fri, 1 Aug 2014 14:05:14 +0200 Subject: [PATCH] Method takes a llvm::ArrayRef. --- lib/Interpreter/TransactionUnloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Interpreter/TransactionUnloader.cpp b/lib/Interpreter/TransactionUnloader.cpp index 4ec6ecf3..8ed09280 100644 --- a/lib/Interpreter/TransactionUnloader.cpp +++ b/lib/Interpreter/TransactionUnloader.cpp @@ -737,7 +737,7 @@ namespace clang { #ifndef NDEBUG const TemplateArgumentList* args = specialization->getTemplateSpecializationArgs(); - assert(!self->findSpecialization(args->data(), args->size(), InsertPos) + assert(!self->findSpecialization(args->asArray(), InsertPos) && "Finds the removed decl again!"); #endif }