mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	build(IWYU): fix headers for arabic.h
This commit is contained in:
		
							
								
								
									
										1
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								Makefile
									
									
									
									
									
								
							| @@ -160,7 +160,6 @@ iwyu: build/.ran-cmake | |||||||
| 	|src/nvim/api/vimscript.h\ | 	|src/nvim/api/vimscript.h\ | ||||||
| 	|src/nvim/api/win_config.h\ | 	|src/nvim/api/win_config.h\ | ||||||
| 	|src/nvim/api/window.h\ | 	|src/nvim/api/window.h\ | ||||||
| 	|src/nvim/arabic.h\ |  | ||||||
| 	|src/nvim/arglist.h\ | 	|src/nvim/arglist.h\ | ||||||
| 	|src/nvim/ascii.h\ | 	|src/nvim/ascii.h\ | ||||||
| 	|src/nvim/assert.h\ | 	|src/nvim/assert.h\ | ||||||
|   | |||||||
| @@ -195,6 +195,7 @@ | |||||||
|   # headers on the left, it will use the headers on the right if possible. This |   # 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 |   # isn't explicitly mentioned in the IWYU docs, this is just my interpretation | ||||||
|   # of its behavior. |   # 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/arglist_defs.h"', public, '"nvim/arglist.h"', public ] }, | ||||||
|   { include: [ '"nvim/buffer_defs.h"', public, '"nvim/buffer.h"', public ] }, |   { include: [ '"nvim/buffer_defs.h"', public, '"nvim/buffer.h"', public ] }, | ||||||
|   { include: [ '"nvim/cmdexpand_defs.h"', public, '"nvim/cmdexpand.h"', public ] }, |   { include: [ '"nvim/cmdexpand_defs.h"', public, '"nvim/cmdexpand.h"', public ] }, | ||||||
|   | |||||||
| @@ -914,7 +914,6 @@ def CheckIncludes(filename, lines, error): | |||||||
|             "src/nvim/api/vimscript.h", |             "src/nvim/api/vimscript.h", | ||||||
|             "src/nvim/api/win_config.h", |             "src/nvim/api/win_config.h", | ||||||
|             "src/nvim/api/window.h", |             "src/nvim/api/window.h", | ||||||
|             "src/nvim/arabic.h", |  | ||||||
|             "src/nvim/arglist.h", |             "src/nvim/arglist.h", | ||||||
|             "src/nvim/ascii.h", |             "src/nvim/ascii.h", | ||||||
|             "src/nvim/assert.h", |             "src/nvim/assert.h", | ||||||
|   | |||||||
| @@ -1,8 +1,6 @@ | |||||||
| #pragma once | #pragma once | ||||||
|  |  | ||||||
| #include <stdbool.h> | #include "nvim/arabic_defs.h" | ||||||
|  |  | ||||||
| #define ARABIC_CHAR(ch)            (((ch) & 0xFF00) == 0x0600) |  | ||||||
|  |  | ||||||
| #ifdef INCLUDE_GENERATED_DECLARATIONS | #ifdef INCLUDE_GENERATED_DECLARATIONS | ||||||
| # include "arabic.h.generated.h" | # include "arabic.h.generated.h" | ||||||
|   | |||||||
							
								
								
									
										3
									
								
								src/nvim/arabic_defs.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								src/nvim/arabic_defs.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | #pragma once | ||||||
|  |  | ||||||
|  | #define ARABIC_CHAR(ch)            (((ch) & 0xFF00) == 0x0600) | ||||||
| @@ -5,7 +5,6 @@ | |||||||
|  |  | ||||||
| #include "nvim/eval/typval.h" | #include "nvim/eval/typval.h" | ||||||
| #include "nvim/event/libuv_process.h" | #include "nvim/event/libuv_process.h" | ||||||
| #include "nvim/event/loop.h" |  | ||||||
| #include "nvim/event/process.h" | #include "nvim/event/process.h" | ||||||
| #include "nvim/event/stream.h" | #include "nvim/event/stream.h" | ||||||
| #include "nvim/log.h" | #include "nvim/log.h" | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| #pragma once | #pragma once | ||||||
|  |  | ||||||
| #include "nvim/garray_defs.h" | #include "nvim/garray_defs.h"  // IWYU pragma: export | ||||||
|  |  | ||||||
| #ifdef INCLUDE_GENERATED_DECLARATIONS | #ifdef INCLUDE_GENERATED_DECLARATIONS | ||||||
| # include "spellsuggest.h.generated.h" | # include "spellsuggest.h.generated.h" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 dundargoc
					dundargoc