From: Benjamin Kramer Date: Wed, 2 Sep 2015 15:31:05 +0000 (+0000) Subject: [OpenMP] Make helper functoin static. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=44078014ef458875167e398ed85b6bc1e98f3df0;p=clang [OpenMP] Make helper functoin static. NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246657 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGOpenMPRuntime.cpp b/lib/CodeGen/CGOpenMPRuntime.cpp index f4148db751..6ffcb715c9 100644 --- a/lib/CodeGen/CGOpenMPRuntime.cpp +++ b/lib/CodeGen/CGOpenMPRuntime.cpp @@ -2091,7 +2091,7 @@ emitTaskPrivateMappingFunction(CodeGenModule &CGM, SourceLocation Loc, return TaskPrivatesMap; } -llvm::Value *getTypeSize(CodeGenFunction &CGF, QualType Ty) { +static llvm::Value *getTypeSize(CodeGenFunction &CGF, QualType Ty) { auto &C = CGF.getContext(); llvm::Value *Size; auto SizeInChars = C.getTypeSizeInChars(Ty);