build(IWYU): remove arabic_defs.h (#26235)

A _defs header is only needed if it's included by multiple files.
This commit is contained in:
dundargoc authored and GitHub committed 2023-11-27 07:41:43 +08:00
1 parent 3514b26a5d
commit c2a5105e88
3 files changed
+1 -5

No files matched your search

-1
View File
@@ -195,7 +195,6 @@
# headers on the left, it will use the headers on the right if possible. This
# isn't explicitly mentioned in the IWYU docs, this is just my interpretation
# of its behavior.
{ include: [ '"nvim/arabic_defs.h"', public, '"nvim/arabic.h"', public ] },
{ include: [ '"nvim/arglist_defs.h"', public, '"nvim/arglist.h"', public ] },
{ include: [ '"nvim/buffer_defs.h"', public, '"nvim/buffer.h"', public ] },
{ include: [ '"nvim/cmdexpand_defs.h"', public, '"nvim/cmdexpand.h"', public ] },
+1 -1
View File
@@ -1,6 +1,6 @@
#pragma once
#include "nvim/arabic_defs.h"
#define ARABIC_CHAR(ch) (((ch) & 0xFF00) == 0x0600)
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "arabic.h.generated.h"
-3
View File
@@ -1,3 +0,0 @@
#pragma once
#define ARABIC_CHAR(ch) (((ch) & 0xFF00) == 0x0600)