Skip to content

Commit c247356

Browse files
committed
Unused
1 parent 8372d3a commit c247356

File tree

4 files changed

+0
-10
lines changed

4 files changed

+0
-10
lines changed

src/attr.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ std::ostream& operator<<(std::ostream& o, Attr a)
1919
case Attr::TYPE: o << "type"; break;
2020
case Attr::SORRY: o << "sorry"; break;
2121
case Attr::LIST: o << "list"; break;
22-
case Attr::REQUIRES: o << "requires"; break;
2322
case Attr::PROOF_RULE: o << "proof_rule"; break;
2423
case Attr::PROGRAM: o << "program"; break;
2524
case Attr::BINDER: o << "binder"; break;

src/attr.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ enum class Attr
2121
NONE = 0,
2222

2323
IMPLICIT,
24-
REQUIRES,
2524
TYPE,
2625
// properties of rules
2726
SORRY,

src/cmd_parser.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,6 @@ bool CmdParser::parseNextCommand()
220220
itp = pattrMap.find(p.getValue());
221221
if (itp != pattrMap.end())
222222
{
223-
itpa = itp->second.find(Attr::REQUIRES);
224-
if (itpa != itp->second.end())
225-
{
226-
// requires adds to return type
227-
t = d_state.mkRequires(itpa->second, t);
228-
itp->second.erase(itpa);
229-
}
230223
itpa = itp->second.find(Attr::OPAQUE);
231224
if (itpa != itp->second.end())
232225
{

src/expr_parser.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ ExprParser::ExprParser(Lexer& lex, State& state, bool isSignature)
6666
d_strToAttr[":implicit"] = Attr::IMPLICIT;
6767
d_strToAttr[":type"] = Attr::TYPE;
6868
d_strToAttr[":list"] = Attr::LIST;
69-
d_strToAttr[":requires"] = Attr::REQUIRES;
7069
d_strToAttr[":left-assoc"] = Attr::LEFT_ASSOC;
7170
d_strToAttr[":right-assoc"] = Attr::RIGHT_ASSOC;
7271
d_strToAttr[":left-assoc-nil"] = Attr::LEFT_ASSOC_NIL;

0 commit comments

Comments
 (0)