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

Change working directory of C++ parser #572

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Commits on Mar 28, 2022

  1. Make C++ parser use the working directory of compilation commands

    Fixes compilation commands containing relative paths not getting parsed
    properly.
    andocz committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    c46d0bb View commit details
    Browse the repository at this point in the history
  2. Don't make source file path absolute in ClangTool invocation

    Reverts functional change of 04826d2 as it's no longer necessary.
    andocz committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    5e257ab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ce956a8 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2022

  1. Add PrefixingFileSystem that emulates chdir even for non-existent dirs

    Fixes the previous implementation not working if compilation directories are
    missing.
    andocz committed Mar 29, 2022
    Configuration menu
    Copy the full SHA
    96345c4 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2022

  1. Rename PrefixingFileSystem to FakeWorkDirFileSystem

    This name reflects its purpose better.
    andocz committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    19cda25 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2022

  1. Remove FakeWorkDirFileSystem

    It didn't work correctly (`<existing_dir>/<non_existing_dir>/..` still gives an
    error), and if it did, it would be making potentially incorrect assumptions
    about the file system.
    
    This reverts commit 19cda25.
    This reverts commit 96345c4.
    andocz committed Apr 5, 2022
    Configuration menu
    Copy the full SHA
    581d2e9 View commit details
    Browse the repository at this point in the history
  2. Save build directory in database

    The reparser needs this information to correctly execute its commands.
    andocz committed Apr 5, 2022
    Configuration menu
    Copy the full SHA
    cca922e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    10de276 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ecae845 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e0c6dba View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    03cb8e9 View commit details
    Browse the repository at this point in the history