mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 03:16:31 +00:00
build(iwyu): add a few more _defs.h mappings (#25435)
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
#include "nvim/eval/typval.h"
|
||||
#include "nvim/eval/typval_defs.h"
|
||||
#include "nvim/eval/userfunc.h"
|
||||
#include "nvim/garray.h"
|
||||
#include "nvim/lua/executor.h"
|
||||
#include "nvim/memory.h"
|
||||
#include "nvim/types.h"
|
||||
@@ -204,6 +203,7 @@ static inline void typval_encode_dict_end(EncodedData *const edata)
|
||||
#define TYPVAL_ENCODE_FIRST_ARG_TYPE EncodedData *const
|
||||
#define TYPVAL_ENCODE_FIRST_ARG_NAME edata
|
||||
#include "nvim/eval/typval_encode.c.h"
|
||||
|
||||
#undef TYPVAL_ENCODE_SCOPE
|
||||
#undef TYPVAL_ENCODE_NAME
|
||||
#undef TYPVAL_ENCODE_FIRST_ARG_TYPE
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#include "nvim/ascii.h"
|
||||
#include "nvim/buffer_defs.h"
|
||||
#include "nvim/eval/typval.h"
|
||||
#include "nvim/eval/typval_defs.h"
|
||||
#include "nvim/eval/vars.h"
|
||||
#include "nvim/ex_eval.h"
|
||||
#include "nvim/garray.h"
|
||||
@@ -34,6 +33,7 @@
|
||||
#include "nvim/message.h"
|
||||
#include "nvim/msgpack_rpc/helpers.h"
|
||||
#include "nvim/pos.h"
|
||||
#include "nvim/types.h"
|
||||
#include "nvim/ui.h"
|
||||
#include "nvim/version.h"
|
||||
|
||||
|
@@ -6,9 +6,11 @@
|
||||
|
||||
#include "klib/kvec.h"
|
||||
#include "nvim/api/private/defs.h"
|
||||
#include "nvim/api/private/dispatch.h"
|
||||
#include "nvim/decoration.h"
|
||||
#include "nvim/ex_eval_defs.h"
|
||||
#include "nvim/getchar.h"
|
||||
#include "nvim/gettext.h"
|
||||
#include "nvim/globals.h"
|
||||
#include "nvim/macros.h"
|
||||
#include "nvim/map.h"
|
||||
|
@@ -1,13 +1,15 @@
|
||||
// This is an open source non-commercial project. Dear PVS-Studio, please check
|
||||
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "nvim/api/private/defs.h"
|
||||
#include "nvim/api/private/helpers.h"
|
||||
#include "nvim/api/private/validate.h"
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "api/private/validate.c.generated.h"
|
||||
#endif
|
||||
#include "nvim/ascii.h"
|
||||
#include "nvim/globals.h"
|
||||
|
||||
/// Creates "Invalid …" message and sets it on `err`.
|
||||
void api_err_invalid(Error *err, const char *name, const char *val_s, int64_t val_n, bool quote_val)
|
||||
|
@@ -1,8 +1,13 @@
|
||||
#ifndef NVIM_API_PRIVATE_VALIDATE_H
|
||||
#define NVIM_API_PRIVATE_VALIDATE_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "nvim/api/private/defs.h"
|
||||
#include "nvim/api/private/helpers.h"
|
||||
#include "nvim/assert.h"
|
||||
#include "nvim/macros.h"
|
||||
|
||||
#define VALIDATE(cond, fmt_, fmt_arg1, code) \
|
||||
do { \
|
||||
|
Reference in New Issue
Block a user