diff --git a/lib/CodeGen/CGOpenMPRuntime.cpp b/lib/CodeGen/CGOpenMPRuntime.cpp index cc69d60924ccec4f57ed9367d8e00756d10c539e..ce227ffc4b394615485ffc1f49cc4d1b0d8731bf 100644 --- a/lib/CodeGen/CGOpenMPRuntime.cpp +++ b/lib/CodeGen/CGOpenMPRuntime.cpp @@ -25,6 +25,8 @@ using namespace clang; using namespace CodeGen; +namespace clang { +namespace CodeGen { /// \brief API for captured statement code generation in OpenMP constructs. class CGOpenMPRegionInfo : public CodeGenFunction::CGCapturedStmtInfo { public: @@ -61,6 +63,7 @@ private: /// \brief OpenMP executable directive associated with the region. const OMPExecutableDirective &Directive; }; +}} LValue CGOpenMPRegionInfo::getThreadIDVariableLValue(CodeGenFunction &CGF) { return CGF.MakeNaturalAlignAddrLValue(