diff options
author | chriseth <chris@ethereum.org> | 2017-07-01 18:42:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-01 18:42:37 +0800 |
commit | 61e448470aa5dbb67d64742f0903c20678ca3101 (patch) | |
tree | 7775ccb3dffde453f3724e59c0d64c2185a8fb1d /libsolidity/analysis/DocStringAnalyser.cpp | |
parent | 06f8949f1033e6dc90e9645fcb6a869ecaaf5887 (diff) | |
parent | a46b3479bb0ccba26566eecd1824450ab4cadf1d (diff) | |
download | dexon-solidity-61e448470aa5dbb67d64742f0903c20678ca3101.tar.gz dexon-solidity-61e448470aa5dbb67d64742f0903c20678ca3101.tar.zst dexon-solidity-61e448470aa5dbb67d64742f0903c20678ca3101.zip |
Merge pull request #2494 from ethereum/remove-why3
Remove last remains of Why3
Diffstat (limited to 'libsolidity/analysis/DocStringAnalyser.cpp')
-rw-r--r-- | libsolidity/analysis/DocStringAnalyser.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/libsolidity/analysis/DocStringAnalyser.cpp b/libsolidity/analysis/DocStringAnalyser.cpp index 6a8fa08e..9a846b31 100644 --- a/libsolidity/analysis/DocStringAnalyser.cpp +++ b/libsolidity/analysis/DocStringAnalyser.cpp @@ -40,7 +40,7 @@ bool DocStringAnalyser::analyseDocStrings(SourceUnit const& _sourceUnit) bool DocStringAnalyser::visit(ContractDefinition const& _node) { - static const set<string> validTags = set<string>{"author", "title", "dev", "notice", "why3"}; + static const set<string> validTags = set<string>{"author", "title", "dev", "notice"}; parseDocStrings(_node, _node.annotation(), validTags, "contracts"); return true; @@ -66,16 +66,6 @@ bool DocStringAnalyser::visit(EventDefinition const& _node) return true; } -bool DocStringAnalyser::visitNode(ASTNode const& _node) -{ - if (auto node = dynamic_cast<Statement const*>(&_node)) - { - static const set<string> validTags = {"why3"}; - parseDocStrings(*node, node->annotation(), validTags, "statements"); - } - return true; -} - void DocStringAnalyser::handleCallable( CallableDeclaration const& _callable, Documented const& _node, |