diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-09 16:23:46 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-09 16:23:46 +0000 |
commit | f044d3f93b1068059a4cf13949440ad81f501278 (patch) | |
tree | 2b4dcf46358719512014b2f8da45b292185a384a /llvm/tools/llvm-cov/gcov.cpp | |
parent | db4995a1976b4e7f1fc8d655e586fccf8016f492 (diff) | |
download | bcm5719-llvm-f044d3f93b1068059a4cf13949440ad81f501278.tar.gz bcm5719-llvm-f044d3f93b1068059a4cf13949440ad81f501278.zip |
Make helper functions static.
Found by -Wmissing-prototypes. NFC.
llvm-svn: 231664
Diffstat (limited to 'llvm/tools/llvm-cov/gcov.cpp')
-rw-r--r-- | llvm/tools/llvm-cov/gcov.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/tools/llvm-cov/gcov.cpp b/llvm/tools/llvm-cov/gcov.cpp index c0a48f85e54..4377a50b556 100644 --- a/llvm/tools/llvm-cov/gcov.cpp +++ b/llvm/tools/llvm-cov/gcov.cpp @@ -23,9 +23,10 @@ #include <system_error> using namespace llvm; -void reportCoverage(StringRef SourceFile, StringRef ObjectDir, - const std::string &InputGCNO, const std::string &InputGCDA, - bool DumpGCOV, const GCOVOptions &Options) { +static void reportCoverage(StringRef SourceFile, StringRef ObjectDir, + const std::string &InputGCNO, + const std::string &InputGCDA, bool DumpGCOV, + const GCOVOptions &Options) { SmallString<128> CoverageFileStem(ObjectDir); if (CoverageFileStem.empty()) { // If no directory was specified with -o, look next to the source file. |