1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[llvm-cov] Document a few private fields of CodeCoverageTool (NFC)

llvm-svn: 275639
This commit is contained in:
Vedant Kumar 2016-07-15 22:44:54 +00:00
parent 8e6a45e43a
commit 375619878e
2 changed files with 4 additions and 1 deletions

View File

@ -101,11 +101,14 @@ public:
std::string CoverageArch;
private:
/// File paths (absolute, or otherwise) to input source files.
std::vector<std::string> CollectedPaths;
/// Errors and warnings which have not been printed.
std::mutex DeferredMessagesLock;
std::vector<std::string> DeferredMessages;
/// A container for input source file buffers.
std::mutex LoadedSourceFilesLock;
std::vector<std::pair<std::string, std::unique_ptr<MemoryBuffer>>>
LoadedSourceFiles;

View File

@ -40,7 +40,7 @@ struct CoverageViewOptions {
}
/// \brief Check if an output directory has been specified.
bool hasOutputDirectory() const { return ShowOutputDirectory != ""; }
bool hasOutputDirectory() const { return !ShowOutputDirectory.empty(); }
};
}