diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-09-02 15:31:05 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-09-02 15:31:05 +0000 |
commit | 9b819036076fe3a4e27c5a0f923fe139012fdfc7 (patch) | |
tree | 4aa218c14deda2f7779004c8fe117dfb311f94ab /clang/lib/CodeGen/CGOpenMPRuntime.cpp | |
parent | 7d250f773fbbed62b3ca68f1fa21e056982659f8 (diff) | |
download | bcm5719-llvm-9b819036076fe3a4e27c5a0f923fe139012fdfc7.tar.gz bcm5719-llvm-9b819036076fe3a4e27c5a0f923fe139012fdfc7.zip |
[OpenMP] Make helper functoin static. NFC.
llvm-svn: 246657
Diffstat (limited to 'clang/lib/CodeGen/CGOpenMPRuntime.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGOpenMPRuntime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.cpp b/clang/lib/CodeGen/CGOpenMPRuntime.cpp index f4148db7519..6ffcb715c95 100644 --- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp +++ b/clang/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); |