various: format with clang-format
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ib9abc9d2dcd036d3680c5aa3dc919bfa6a6a6964
This commit is contained in:
parent
63a9eddc49
commit
98fd1bfc52
12 changed files with 1923 additions and 1819 deletions
|
|
@ -9,7 +9,7 @@ namespace nix {
|
|||
class EvalState;
|
||||
class Value;
|
||||
class PosIdx;
|
||||
}
|
||||
} // namespace nix
|
||||
|
||||
namespace nix_irc {
|
||||
|
||||
|
|
@ -18,18 +18,17 @@ class IREnvironment;
|
|||
|
||||
class Evaluator {
|
||||
public:
|
||||
explicit Evaluator(nix::EvalState& state);
|
||||
~Evaluator();
|
||||
explicit Evaluator(nix::EvalState& state);
|
||||
~Evaluator();
|
||||
|
||||
void eval_to_nix(const std::shared_ptr<Node>& ir_node,
|
||||
nix::Value& result,
|
||||
IREnvironment* env = nullptr);
|
||||
void eval_to_nix(const std::shared_ptr<Node>& ir_node, nix::Value& result,
|
||||
IREnvironment* env = nullptr);
|
||||
|
||||
private:
|
||||
struct Impl;
|
||||
std::unique_ptr<Impl> pImpl;
|
||||
struct Impl;
|
||||
std::unique_ptr<Impl> pImpl;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace nix_irc
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue