mirror of
https://github.com/NixOS/nix
synced 2025-06-26 15:51:15 +02:00
Fix some clang warnings
This commit is contained in:
parent
a26307b281
commit
94f9c14d52
6 changed files with 12 additions and 18 deletions
|
@ -48,7 +48,7 @@ std::ostream & operator << (std::ostream & str, const Pos & pos);
|
|||
|
||||
struct Env;
|
||||
struct Value;
|
||||
struct EvalState;
|
||||
class EvalState;
|
||||
struct StaticEnv;
|
||||
struct Expr;
|
||||
|
||||
|
@ -71,6 +71,7 @@ string showAttrPath(const AttrPath & attrPath);
|
|||
|
||||
struct Expr
|
||||
{
|
||||
virtual ~Expr() { };
|
||||
virtual void show(std::ostream & str);
|
||||
virtual void bindVars(const StaticEnv & env);
|
||||
virtual void eval(EvalState & state, Env & env, Value & v);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue