mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-03 13:00:29 +00:00
Meta: Make YCM return flags as Python list
As per YCM's own .ycm_extra_conf.py: ```python final_flags = list( compilation_info.compiler_flags_ ) ``` Before this change clangd would crash.
This commit is contained in:
parent
8867146327
commit
51f5da00d7
Notes:
sideshowbarker
2024-07-19 16:02:49 +09:00
Author: https://github.com/avalanche-pwn 🔰 Commit: https://github.com/LadybirdBrowser/ladybird/commit/51f5da00d7e Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/453
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ def Settings(**kwargs): # noqa: N802
|
|||
return {}
|
||||
|
||||
return {
|
||||
'flags': compilation_info.compiler_flags_,
|
||||
'flags': list(compilation_info.compiler_flags_),
|
||||
'include_paths_relative_to_dir': DIR_OF_THIS_SCRIPT,
|
||||
'override_filename': filename
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue