mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-03 02:08:35 +00:00
[llvm-cov] Document a few private fields of CodeCoverageTool (NFC)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275639 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b203f8032d
commit
a5ec41d9a9
@ -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;
|
||||
|
@ -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(); }
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user