diff options
author | bloodstalker <thabogre@gmail.com> | 2020-05-29 05:33:41 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2020-05-29 05:33:41 +0000 |
commit | ed0108511b54ae3dd611ea09ff596d2598d9fd87 (patch) | |
tree | 98ef152ce2943c217986f71855923986e4d5ecdc /m0/mutator-lvl0.h | |
parent | fixing a typo (diff) | |
download | mutator-ed0108511b54ae3dd611ea09ff596d2598d9fd87.tar.gz mutator-ed0108511b54ae3dd611ea09ff596d2598d9fd87.zip |
updated m0 for llvm 11. travis should get fixed as well.
Diffstat (limited to 'm0/mutator-lvl0.h')
-rw-r--r-- | m0/mutator-lvl0.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |