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

Fix CDT parser include file handling and support recursion for includes #639

Draft
wants to merge 8 commits into
base: dev
Choose a base branch
from

Commits on Jun 22, 2023

  1. Add CDT parser option to support recursive adding of include files

    With this option, include files can be added recursively from
    subdirectories of include paths as well.
    bahnwaerter committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    7407aa4 View commit details
    Browse the repository at this point in the history
  2. Add CDT parser test suite for testing the parsing of C programs

    This test suite implements various test cases intended to test
    the parsing of C programs that include header files. Each test
    case modifies the CDT parser settings for an automatic test setup
    to check the different include path configurations.
    bahnwaerter committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    aa78619 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    073ed36 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    00c8d07 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2023

  1. Allow relative include paths

    (separated by ";")
    schuessf committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    960697a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fc8cc23 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2023

  1. Configuration menu
    Copy the full SHA
    70c6641 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2023

  1. Fix C preprocessor to handle preprocessor macros

    This patch fixes the C preprocessor to support the parsing and
    substitution of the following macros:
    
      - #define
      - #undef
      - #if
      - #ifdef
      - #ifndef
      - #elif
      - #else
      - #endif
      - #error
    
    Note that ACSL expressions cannot contain macros, as these are in
    comments where parsing and substitution is not possible.
    bahnwaerter committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    9b11124 View commit details
    Browse the repository at this point in the history