parent
1809571c76
commit
c6924d8690
|
@ -25,6 +25,8 @@
|
||||||
using namespace clang;
|
using namespace clang;
|
||||||
using namespace CodeGen;
|
using namespace CodeGen;
|
||||||
|
|
||||||
|
namespace clang {
|
||||||
|
namespace CodeGen {
|
||||||
/// \brief API for captured statement code generation in OpenMP constructs.
|
/// \brief API for captured statement code generation in OpenMP constructs.
|
||||||
class CGOpenMPRegionInfo : public CodeGenFunction::CGCapturedStmtInfo {
|
class CGOpenMPRegionInfo : public CodeGenFunction::CGCapturedStmtInfo {
|
||||||
public:
|
public:
|
||||||
|
@ -61,6 +63,7 @@ private:
|
||||||
/// \brief OpenMP executable directive associated with the region.
|
/// \brief OpenMP executable directive associated with the region.
|
||||||
const OMPExecutableDirective &Directive;
|
const OMPExecutableDirective &Directive;
|
||||||
};
|
};
|
||||||
|
}}
|
||||||
|
|
||||||
LValue CGOpenMPRegionInfo::getThreadIDVariableLValue(CodeGenFunction &CGF) {
|
LValue CGOpenMPRegionInfo::getThreadIDVariableLValue(CodeGenFunction &CGF) {
|
||||||
return CGF.MakeNaturalAlignAddrLValue(
|
return CGF.MakeNaturalAlignAddrLValue(
|
||||||
|
|
Loading…
Reference in New Issue