summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-02-25 08:32:46 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-02-25 08:32:46 +0000
commit3eff5f46d7821f2fa8529c93155f70f717cb71ee (patch)
tree6f754e5c1880b17cbd1c7f8bf5358c8533c44a78 /clang/lib/CodeGen/CodeGenModule.cpp
parent3f02403b3aa1a9daa7b7f432f39f30254c103c35 (diff)
downloadbcm5719-llvm-3eff5f46d7821f2fa8529c93155f70f717cb71ee.tar.gz
bcm5719-llvm-3eff5f46d7821f2fa8529c93155f70f717cb71ee.zip
[OPENMP] Rename methods of OpenMPRuntime class. NFC.
llvm-svn: 230470
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 6d63c5e5e2c..1b6439b6817 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -3674,10 +3674,8 @@ void CodeGenModule::EmitOMPThreadPrivateDecl(const OMPThreadPrivateDecl *D) {
VD->getAnyInitializer() &&
!VD->getAnyInitializer()->isConstantInitializer(getContext(),
/*ForRef=*/false);
- if (auto InitFunction =
- getOpenMPRuntime().EmitOMPThreadPrivateVarDefinition(
- VD, GetAddrOfGlobalVar(VD), RefExpr->getLocStart(),
- PerformInit))
+ if (auto InitFunction = getOpenMPRuntime().emitThreadPrivateVarDefinition(
+ VD, GetAddrOfGlobalVar(VD), RefExpr->getLocStart(), PerformInit))
CXXGlobalInits.push_back(InitFunction);
}
}
OpenPOWER on IntegriCloud