From ed0108511b54ae3dd611ea09ff596d2598d9fd87 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Fri, 29 May 2020 10:03:41 +0430 Subject: updated m0 for llvm 11. travis should get fixed as well. --- m0/mutator-lvl0.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'm0/mutator-lvl0.h') diff --git a/m0/mutator-lvl0.h b/m0/mutator-lvl0.h index 982c7ac..ce339b6 100644 --- a/m0/mutator-lvl0.h +++ b/m0/mutator-lvl0.h @@ -468,7 +468,11 @@ class MutagenExtraction void ExtractAncestry(clang::ast_type_traits::DynTypedNode __dtn, clang::ASTContext &__astx) { +#if __clang_major__ >= 11 + clang::DynTypedNodeList DNL = __astx.getParents(__dtn); +#else clang::ASTContext::DynTypedNodeList DNL = __astx.getParents(__dtn); +#endif if (DNL.empty()) return void(); /*FIXME-a LastStrain. obviously well end up losing some parents in cpp if we're just picking up the -- cgit v1.2.3