r203195 - Fixed getSema()/getDerived().getSema() diff pointed by Hal Finkel.
Alexey Bataev
a.bataev at hotmail.com
Thu Mar 6 20:01:56 PST 2014
Author: abataev
Date: Thu Mar 6 22:01:56 2014
New Revision: 203195
URL: http://llvm.org/viewvc/llvm-project?rev=203195&view=rev
Log:
Fixed getSema()/getDerived().getSema() diff pointed by Hal Finkel.
Modified:
cfe/trunk/lib/Sema/TreeTransform.h
Modified: cfe/trunk/lib/Sema/TreeTransform.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/TreeTransform.h?rev=203195&r1=203194&r2=203195&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/TreeTransform.h (original)
+++ cfe/trunk/lib/Sema/TreeTransform.h Thu Mar 6 22:01:56 2014
@@ -6306,7 +6306,7 @@ template<typename Derived>
StmtResult
TreeTransform<Derived>::TransformOMPParallelDirective(OMPParallelDirective *D) {
DeclarationNameInfo DirName;
- getSema().StartOpenMPDSABlock(OMPD_parallel, DirName, 0);
+ getDerived().getSema().StartOpenMPDSABlock(OMPD_parallel, DirName, 0);
StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
getDerived().getSema().EndOpenMPDSABlock(Res.get());
return Res;
More information about the cfe-commits
mailing list