Closed
Description
Description
Users are required to install brew install clang llvm even when they are not analyzing C/C++ code. This imposes an unnecessary dependency on LLVM/Clang for users working with other languages like Java or Python.
Steps to Reproduce
- Set up the tool for analyzing a non-C/C++ project (e.g., Java, Python).
- Attempt to run an analysis without installing Clang/LLVM.
- The tool prompts users to install clang and llvm, even though these dependencies are not needed for non-C/C++ analyses.
Expected Behavior
- The tool should not require clang and llvm unless analyzing C/C++ code.
- Dependency checks should be conditional based on the selected language.
Suggested Fix
- Update the installation requirements to make Clang/LLVM optional, only enforcing them when analyzing C/C++ projects.
- Modify dependency validation logic to check the target language before prompting users to install Clang/LLVM.
Additional Context
N/A