Index goes behind the getASTIndex interface.
See llvm-mirror/clang@03ebcc82 and llvm-mirror/clang@f4ca1ac
This commit is contained in:
parent
c85cf9e4ea
commit
f4b6851414
@ -198,9 +198,8 @@ class PointerCheckInjector : public RecursiveASTVisitor<PointerCheckInjector> {
|
||||
E = FDecl->specific_attr_end<NonNullAttr>(); I != E; ++I) {
|
||||
|
||||
NonNullAttr *NonNull = *I;
|
||||
for (NonNullAttr::args_iterator i = NonNull->args_begin(),
|
||||
e = NonNull->args_end(); i != e; ++i) {
|
||||
ArgIndexs.set(*i);
|
||||
for (const auto &Idx : NonNull->args()) {
|
||||
ArgIndexs.set(Idx.getASTIndex());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user