mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
Make helper functions static.
Found by -Wmissing-prototypes. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231664 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user