Hello,
This question is a variant of
http://lists.llvm.org/pipermail/cfe-dev/2016-June/049613.html. I'm also new to
Clang/LLVM.
I'm working with libtooling (I think) and am trying to use the
ASTContext::getParents() function like so:
const clang::Decl *decl = ...;
auto it = Context.getParents(decl).begin();
This immediately triggers a compile error:
...\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(217): error C2039:
'create': is not a member of
'clang::ast_type_traits::DynTypedNode::BaseConverter<T,void>'
If I comment out the `auto it` like, compilation succeeds.
Does anyone have any idea as to what's going on?
Many thanks,
--Zem
_______________________________________________
cfe-users mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users