mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
lint
This commit is contained in:
parent
af59a290d8
commit
ca1ba1085a
@ -3915,24 +3915,21 @@ static int eval5(char_u **arg, typval_T *rettv, int evaluate)
|
|||||||
|
|
||||||
// TODO(ZyX-I): move to eval/expressions
|
// TODO(ZyX-I): move to eval/expressions
|
||||||
|
|
||||||
/*
|
/// Handle fifth level expression:
|
||||||
* Handle fifth level expression:
|
/// - * number multiplication
|
||||||
* * number multiplication
|
/// - / number division
|
||||||
* / number division
|
/// - % number modulo
|
||||||
* % number modulo
|
///
|
||||||
*
|
/// @param[in,out] arg Points to the first non-whitespace character of the
|
||||||
* "arg" must point to the first non-white of the expression.
|
/// expression. Is advanced to the next non-whitespace
|
||||||
* "arg" is advanced to the next non-white after the recognized expression.
|
/// character after the recognized expression.
|
||||||
*
|
/// @param[out] rettv Location where result is saved.
|
||||||
* Return OK or FAIL.
|
/// @param[in] evaluate If not true, rettv is not populated.
|
||||||
*/
|
/// @param[in] want_string True if "." is string_concatenation, otherwise
|
||||||
static int
|
/// float
|
||||||
eval6 (
|
/// @return OK or FAIL.
|
||||||
char_u **arg,
|
static int eval6(char_u **arg, typval_T *rettv, int evaluate, int want_string)
|
||||||
typval_T *rettv,
|
FUNC_ATTR_NO_SANITIZE_UNDEFINED
|
||||||
int evaluate,
|
|
||||||
int want_string /* after "." operator */
|
|
||||||
) FUNC_ATTR_NO_SANITIZE_UNDEFINED
|
|
||||||
{
|
{
|
||||||
typval_T var2;
|
typval_T var2;
|
||||||
int op;
|
int op;
|
||||||
|
@ -128,9 +128,11 @@
|
|||||||
# endif
|
# endif
|
||||||
|
|
||||||
# if NVIM_HAS_ATTRIBUTE(no_sanitize_undefined)
|
# if NVIM_HAS_ATTRIBUTE(no_sanitize_undefined)
|
||||||
# define REAL_FATTR_NO_SANITIZE_UNDEFINED __attribute__((no_sanitize_undefined))
|
# define REAL_FATTR_NO_SANITIZE_UNDEFINED \
|
||||||
|
__attribute__((no_sanitize_undefined))
|
||||||
# elif NVIM_HAS_ATTRIBUTE(no_sanitize)
|
# elif NVIM_HAS_ATTRIBUTE(no_sanitize)
|
||||||
# define REAL_FATTR_NO_SANITIZE_UNDEFINED __attribute__((no_sanitize("undefined")))
|
# define REAL_FATTR_NO_SANITIZE_UNDEFINED \
|
||||||
|
__attribute__((no_sanitize("undefined")))
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user