From: Aaron Ballman Date: Fri, 10 Oct 2014 12:40:56 +0000 (+0000) Subject: Fixing the MSVC 2013 build, NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=954e28bad38573f9f2ba4b8d0bc8bee9d0939051;p=clang Fixing the MSVC 2013 build, NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219491 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGOpenMPRuntime.cpp b/lib/CodeGen/CGOpenMPRuntime.cpp index cc69d60924..ce227ffc4b 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(