In Visitor of PointerCheckInjector use Traverse not Visit.
This commit is contained in:
parent
1472015449
commit
0059a81ac3
@ -217,8 +217,7 @@ namespace cling {
|
||||
NullDerefProtectionTransformer::Transform(clang::Decl* D) {
|
||||
|
||||
PointerCheckInjector injector(*m_Sema);
|
||||
injector.VisitDecl(D);
|
||||
|
||||
injector.TraverseDecl(D);
|
||||
return Result(D, true);
|
||||
}
|
||||
} // end namespace cling
|
||||
|
Loading…
Reference in New Issue
Block a user