mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
liblangutil: small refactors wrt. API cleanups
Especially also remove SourceLocation ctor's that the compiler can default-implement.
This commit is contained in:
@@ -80,7 +80,7 @@ public:
|
||||
|
||||
void reset() { m_position = 0; }
|
||||
|
||||
std::string const& source() const { return m_source; }
|
||||
std::string const& source() const noexcept { return m_source; }
|
||||
std::string const& name() const noexcept { return m_name; }
|
||||
|
||||
///@{
|
||||
|
||||
Reference in New Issue
Block a user