From: Benjamin Kramer Date: Sun, 9 Jan 2011 13:21:33 +0000 (+0000) Subject: Make a helper function static. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=12bbc5c92209e0a7db2f71cfe03b84cb32df6adb;p=clang Make a helper function static. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123118 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGBuiltin.cpp b/lib/CodeGen/CGBuiltin.cpp index bac28c2e9f..46873bf062 100644 --- a/lib/CodeGen/CGBuiltin.cpp +++ b/lib/CodeGen/CGBuiltin.cpp @@ -1034,7 +1034,8 @@ Value *CodeGenFunction::EmitTargetBuiltinExpr(unsigned BuiltinID, } } -const llvm::VectorType *GetNeonType(LLVMContext &C, unsigned type, bool q) { +static const llvm::VectorType *GetNeonType(LLVMContext &C, unsigned type, + bool q) { switch (type) { default: break; case 0: