Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure all commands in compilation_commands.json use absolute paths. #3415

Merged
merged 2 commits into from
Mar 17, 2020

Commits on Mar 13, 2020

  1. Fix resolving of absolute path for toolchain

    By placing the `where_is_program` call into this function, all references to the compiler will be made absolute, instead of just ones in the top environment. Previously, all references to the compiler for user source code would not use the full path in the compilation database, which broke `clangd`'s detection of system includes.
    mincrmatt12 authored Mar 13, 2020
    Configuration menu
    Copy the full SHA
    b1ab4d5 View commit details
    Browse the repository at this point in the history
  2. Linting issue

    mincrmatt12 committed Mar 13, 2020
    Configuration menu
    Copy the full SHA
    5fe5748 View commit details
    Browse the repository at this point in the history