mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add const and file name.
This commit is contained in:
@@ -93,14 +93,14 @@ public:
|
||||
|
||||
/// Creates a source unit name by normalizing a path given on the command line and, if possible,
|
||||
/// making it relative to base path or one of the include directories.
|
||||
std::string cliPathToSourceUnitName(boost::filesystem::path const& _cliPath);
|
||||
std::string cliPathToSourceUnitName(boost::filesystem::path const& _cliPath) const;
|
||||
|
||||
/// Checks if a set contains any paths that lead to different files but would receive identical
|
||||
/// source unit names. Files are considered the same if their paths are exactly the same after
|
||||
/// normalization (without following symlinks).
|
||||
/// @returns a map containing all the conflicting source unit names and the paths that would
|
||||
/// receive them. The returned paths are normalized.
|
||||
std::map<std::string, FileSystemPathSet> detectSourceUnitNameCollisions(FileSystemPathSet const& _cliPaths);
|
||||
std::map<std::string, FileSystemPathSet> detectSourceUnitNameCollisions(FileSystemPathSet const& _cliPaths) const;
|
||||
|
||||
/// Normalizes a filesystem path to make it include all components up to the filesystem root,
|
||||
/// remove small, inconsequential differences that do not affect the meaning and make it look
|
||||
|
||||
Reference in New Issue
Block a user