mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 19:40:10 +01:00
fix: clangd: -32001: invalid AST (#4164)
Ignore the `-march=*` in `compile_commands.json` which causes issues in Neovim on Apple M2. This fix is from this [comment](https://github.com/clangd/clangd/issues/1582#issuecomment-1500031372)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
||||
# Exceptions. See /LICENSE for license information.
|
||||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
|
||||
CompileFlags:
|
||||
# Workaround for https://github.com/clangd/clangd/issues/1582
|
||||
Remove: [-march=*]
|
||||
Reference in New Issue
Block a user