diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-08T12·30+0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-08T12·30+0000 |
commit | a5e0f64db3f7355e320ecda478b84f238bf8869c (patch) | |
tree | 63b63db87be07a6f464fa57831ad5655a971100c | |
parent | 221a2daf34234c426fec8058f24b1093b2a61ba8 (diff) |
Remove some unused functions
-rw-r--r-- | src/libexpr/eval.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index d7cab2bf7e99..02f99feb313c 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -248,21 +248,11 @@ LocalNoInlineNoReturn(void throwTypeError(const char * s)) throw TypeError(s); } -LocalNoInlineNoReturn(void throwTypeError(const char * s, const Pos & pos, const string & s2)) -{ - throw TypeError(format(s) % pos % s2); -} - LocalNoInlineNoReturn(void throwTypeError(const char * s, const string & s1, const string & s2)) { throw TypeError(format(s) % s1 % s2); } -LocalNoInlineNoReturn(void throwTypeError(const char * s, const Pos & pos)) -{ - throw TypeError(format(s) % pos); -} - LocalNoInlineNoReturn(void throwAssertionError(const char * s, const Pos & pos)) { throw AssertionError(format(s) % pos); @@ -273,11 +263,6 @@ LocalNoInline(void addErrorPrefix(Error & e, const char * s, const string & s2)) e.addPrefix(format(s) % s2); } -LocalNoInline(void addErrorPrefix(Error & e, const char * s, const Pos & pos)) -{ - e.addPrefix(format(s) % pos); -} - LocalNoInline(void addErrorPrefix(Error & e, const char * s, const string & s2, const Pos & pos)) { e.addPrefix(format(s) % s2 % pos); |