chore(src/api): workaround style
This commit is contained in:
parent
52c4133021
commit
617f55b947
4 changed files with 9 additions and 9 deletions
|
@ -5,7 +5,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
|
|||
Author: Leonardo de Moura
|
||||
*/
|
||||
#pragma once
|
||||
#include "api/lean_bool.h"
|
||||
#include <string>
|
||||
#include "api/lean_macros.h"
|
||||
#include "api/lean_bool.h"
|
||||
#include "api/lean_exception.h"
|
||||
|
@ -40,7 +40,6 @@ void check_nonnull(void const *);
|
|||
}
|
||||
|
||||
#define LEAN_TRY try {
|
||||
|
||||
#define LEAN_CATCH \
|
||||
} catch (lean::exception & e) { \
|
||||
*ex = of_exception(e.clone()); \
|
||||
|
|
|
@ -7,10 +7,10 @@ Author: Leonardo de Moura
|
|||
#ifndef _LEAN_H
|
||||
#define _LEAN_H
|
||||
|
||||
#include "lean_macros.h"
|
||||
#include "lean_bool.h"
|
||||
#include "lean_string.h"
|
||||
#include "lean_exception.h"
|
||||
#include "lean_name.h"
|
||||
#include "lean_macros.h" // NOLINT
|
||||
#include "lean_bool.h" // NOLINT
|
||||
#include "lean_string.h" // NOLINT
|
||||
#include "lean_exception.h" // NOLINT
|
||||
#include "lean_name.h" // NOLINT
|
||||
|
||||
#endif
|
||||
|
|
|
@ -7,7 +7,7 @@ Author: Leonardo de Moura
|
|||
#include "api/name.h"
|
||||
#include "api/string.h"
|
||||
#include "api/exception.h"
|
||||
using namespace lean;
|
||||
using namespace lean; // NOLINT
|
||||
|
||||
lean_bool lean_mk_anonymous_name(lean_name * r, lean_exception * ex) {
|
||||
LEAN_TRY;
|
||||
|
|
|
@ -4,7 +4,8 @@ Released under Apache 2.0 license as described in the file LICENSE.
|
|||
|
||||
Author: Leonardo de Moura
|
||||
*/
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
#include <string.h> // NOLINT
|
||||
#include "api/lean_string.h"
|
||||
#include "api/string.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue