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:
Brymer Meneses
2024-07-25 16:51:31 +00:00
committed by GitHub
parent 3cb769a053
commit bf1106fc34
+7
View File
@@ -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=*]