aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-12-05 22:27:07 +0800
committerChristian <c@ethdev.com>2014-12-05 22:27:07 +0800
commitd4a958e1fe96174f8fab09b5360106895c40e09a (patch)
tree3b1b19552c703690be233d990979580c62b08616 /AST.h
parentd2cf34548322598ae067434a61a171bd190fc2c9 (diff)
parentc8f96589c58c1a0ab290a192e4aa1dfb263d01df (diff)
downloaddexon-solidity-d4a958e1fe96174f8fab09b5360106895c40e09a.tar.gz
dexon-solidity-d4a958e1fe96174f8fab09b5360106895c40e09a.tar.zst
dexon-solidity-d4a958e1fe96174f8fab09b5360106895c40e09a.zip
Merge remote-tracking branch 'ethereum/develop' into sol_import
Conflicts: libsolidity/CompilerStack.cpp libsolidity/CompilerStack.h solc/main.cpp
Diffstat (limited to 'AST.h')
-rw-r--r--AST.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/AST.h b/AST.h
index 2b532d76..d2fb15a4 100644
--- a/AST.h
+++ b/AST.h
@@ -238,7 +238,7 @@ public:
Block& getBody() { return *m_body; }
/// @return A shared pointer of an ASTString.
/// Can contain a nullptr in which case indicates absence of documentation
- ASTPointer<ASTString> const& getDocumentation() { return m_documentation; }
+ ASTPointer<ASTString> const& getDocumentation() const { return m_documentation; }
void addLocalVariable(VariableDeclaration const& _localVariable) { m_localVariables.push_back(&_localVariable); }
std::vector<VariableDeclaration const*> const& getLocalVariables() const { return m_localVariables; }