forked from OSchip/llvm-project
Another one fix for getSema()/getDerived().getSema()
llvm-svn: 203196
This commit is contained in:
parent
3d76e777cd
commit
96d1510c61
|
@ -6316,7 +6316,7 @@ template<typename Derived>
|
||||||
StmtResult
|
StmtResult
|
||||||
TreeTransform<Derived>::TransformOMPSimdDirective(OMPSimdDirective *D) {
|
TreeTransform<Derived>::TransformOMPSimdDirective(OMPSimdDirective *D) {
|
||||||
DeclarationNameInfo DirName;
|
DeclarationNameInfo DirName;
|
||||||
getSema().StartOpenMPDSABlock(OMPD_simd, DirName, 0);
|
getDerived().getSema().StartOpenMPDSABlock(OMPD_simd, DirName, 0);
|
||||||
StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
|
StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
|
||||||
getDerived().getSema().EndOpenMPDSABlock(Res.get());
|
getDerived().getSema().EndOpenMPDSABlock(Res.get());
|
||||||
return Res;
|
return Res;
|
||||||
|
|
Loading…
Reference in New Issue