]> granicus.if.org Git - clang/commitdiff
Make a helper function static.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 9 Jan 2011 13:21:33 +0000 (13:21 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 9 Jan 2011 13:21:33 +0000 (13:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123118 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGBuiltin.cpp

index bac28c2e9f8236c907d15e99bf5cf425e2d3fcf0..46873bf0621da32d5d85ac7f209a65e155e39d05 100644 (file)
@@ -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: