chore(src/*): fix style

This commit is contained in:
Sebastian Ullrich 2019-02-07 15:25:43 +01:00
parent f964ec3bc8
commit 25ffbdda57
5 changed files with 5 additions and 3 deletions

View file

@ -5,7 +5,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "runtime/object.h"
using namespace lean;
using namespace lean; // NOLINT
lean::object* lean_expr_local(lean::object*, lean::object*, lean::object*, lean::object*) {
lean_unreachable();

View file

@ -5,6 +5,8 @@ Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include <iostream>
#include <limits>
#include <string>
#include "runtime/utf8.h"
#include "runtime/apply.h"
#include "kernel/instantiate.h"
@ -651,7 +653,6 @@ struct emit_fn_fn {
m_out << "else\n";
emit(args[2]);
} else {
if (is_obj(x)) {
m_out << "switch (lean::obj_tag("; emit_fvar(x); m_out << ")) {\n";
} else {

View file

@ -5,6 +5,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include <fstream>
#include <string>
#include "runtime/utf8.h"
#include "util/name.h"

View file

@ -5,6 +5,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#pragma once
#include <string>
#include "util/name.h"
namespace lean {

View file

@ -18,7 +18,6 @@ Author: Leonardo de Moura
#include "util/name_hash_map.h"
#include "util/name_hash_set.h"
#include "util/timeit.h"
#include "util/name_hash_map.h"
#include "util/sexpr/option_declarations.h"
#include "util/shared_mutex.h"
#include "library/constants.h"