Skip to content

compile_commands.json format#14

Open
marciosmiderle wants to merge 5 commits intorandomphrase:masterfrom
marciosmiderle:master
Open

compile_commands.json format#14
marciosmiderle wants to merge 5 commits intorandomphrase:masterfrom
marciosmiderle:master

Conversation

@marciosmiderle
Copy link
Copy Markdown

Added a code snippet to parse newer bear generated compile_commands.json.
More recent versions of bear prefer "arguments", so we generate "command" field from "arguments" field.

marciosmiderle and others added 5 commits January 11, 2020 18:05
From http://clang.llvm.org/docs/JSONCompilationDatabase.html standard:
 arguments: The compile command executed as list of strings. Either arguments or command is required.
More recent versions of bear prefer "arguments", so we generate "command" field from "arguments" field.
Forgot to (require 'cl)
current version of projectile-get-other-files requires 2 args not 3
Últimas alterações antes de abandonar.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant