]> granicus.if.org Git - clang/commitdiff
[OpenMP] Make helper functoin static. NFC.
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 2 Sep 2015 15:31:05 +0000 (15:31 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 2 Sep 2015 15:31:05 +0000 (15:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246657 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGOpenMPRuntime.cpp

index f4148db7519468f75366c8f1216ab7e521ca04ff..6ffcb715c95abb2d0df911a42ffb649496991330 100644 (file)
@@ -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);