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

Add CompilationDatabase class #103

Merged
merged 4 commits into from
Sep 3, 2024
Merged

Commits on Aug 29, 2024

  1. Add CompilationDatabase class

    Encapsulates a collection of CompileCommand objects and provides methods
    to simplify creation of databases from JSON.
    
    Signed-off-by: John Pennycook <john.pennycook@intel.com>
    Pennycook committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    af0087c View commit details
    Browse the repository at this point in the history
  2. Add __eq__ operator to CompileCommand

    Primarily used now for defining CompilationDatabase tests, but may also
    be useful later to detect/prune duplicated commands.
    
    Signed-off-by: John Pennycook <john.pennycook@intel.com>
    Pennycook committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    e328328 View commit details
    Browse the repository at this point in the history
  3. Add CompilationDatabase tests

    Signed-off-by: John Pennycook <john.pennycook@intel.com>
    Pennycook committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    aca3063 View commit details
    Browse the repository at this point in the history
  4. Migrate CompileCommand list to CompilationDatabase

    Signed-off-by: John Pennycook <john.pennycook@intel.com>
    Pennycook committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    52d9940 View commit details
    Browse the repository at this point in the history