Another one fix for getSema()/getDerived().getSema()

llvm-svn: 203196
This commit is contained in:
Alexey Bataev 2014-03-07 04:16:48 +00:00
parent 3d76e777cd
commit 96d1510c61
1 changed files with 1 additions and 1 deletions

View File

@ -6316,7 +6316,7 @@ template<typename Derived>
StmtResult
TreeTransform<Derived>::TransformOMPSimdDirective(OMPSimdDirective *D) {
DeclarationNameInfo DirName;
getSema().StartOpenMPDSABlock(OMPD_simd, DirName, 0);
getDerived().getSema().StartOpenMPDSABlock(OMPD_simd, DirName, 0);
StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
getDerived().getSema().EndOpenMPDSABlock(Res.get());
return Res;