aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/InterfaceHandler.cpp
diff options
context:
space:
mode:
authorLianaHus <liana@ethdev.com>2015-09-01 17:19:02 +0800
committerLianaHus <liana@ethdev.com>2015-09-08 19:12:00 +0800
commit02d4198242ec3dacc7af31c9446c83adcf014de9 (patch)
tree6d000f103d2520ebec433c41726dd30350462d8b /libsolidity/InterfaceHandler.cpp
parent1b5e6fc9e76ad3cf30e6e7bfc0e868dbb5267ff4 (diff)
downloaddexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.tar
dexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.tar.gz
dexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.tar.bz2
dexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.tar.lz
dexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.tar.xz
dexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.tar.zst
dexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.zip
removed get prefix
style fixes
Diffstat (limited to 'libsolidity/InterfaceHandler.cpp')
-rw-r--r--libsolidity/InterfaceHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/InterfaceHandler.cpp b/libsolidity/InterfaceHandler.cpp
index 0c2a4287..a52357d0 100644
--- a/libsolidity/InterfaceHandler.cpp
+++ b/libsolidity/InterfaceHandler.cpp
@@ -393,7 +393,7 @@ string::const_iterator InterfaceHandler::appendDocTag(
}
}
-static inline string::const_iterator getFirstSpaceOrNl(
+static inline string::const_iterator firstSpaceOrNl(
string::const_iterator _pos,
string::const_iterator _end
)
@@ -416,7 +416,7 @@ void InterfaceHandler::parseDocString(string const& _string, CommentOwner _owner
if (tagPos != end && tagPos < nlPos)
{
// we found a tag
- auto tagNameEndPos = getFirstSpaceOrNl(tagPos, end);
+ auto tagNameEndPos = firstSpaceOrNl(tagPos, end);
if (tagNameEndPos == end)
BOOST_THROW_EXCEPTION(
DocstringParsingError() <<