From 89854ebe8ea5ba02ec7bc5580f95742f864340b9 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 3 Sep 2014 21:04:12 +0000 Subject: Make some helpers static or move into the llvm namespace. llvm-svn: 217077 --- llvm/lib/ProfileData/CoverageMappingWriter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/lib/ProfileData/CoverageMappingWriter.cpp') diff --git a/llvm/lib/ProfileData/CoverageMappingWriter.cpp b/llvm/lib/ProfileData/CoverageMappingWriter.cpp index f5e6ab46380..15d3cd3d48d 100644 --- a/llvm/lib/ProfileData/CoverageMappingWriter.cpp +++ b/llvm/lib/ProfileData/CoverageMappingWriter.cpp @@ -103,7 +103,8 @@ static unsigned countFileIDs(ArrayRef Regions, /// A counter with kind Counter::Expression and an expression /// with kind CounterExpression::Add /// Remaining bits - Counter/Expression ID. -unsigned encodeCounter(ArrayRef Expressions, Counter C) { +static unsigned encodeCounter(ArrayRef Expressions, + Counter C) { unsigned Tag = unsigned(C.getKind()); if (C.isExpression()) Tag += Expressions[C.getExpressionID()].Kind; -- cgit v1.2.3