trailofbits / vast

VAST is an experimental compiler pipeline designed for program analysis of C and C++. It provides a tower of IRs as MLIR dialects to choose the best fit representations for a program analysis or further program abstraction.
https://trailofbits.github.io/vast/
Apache License 2.0
391 stars 23 forks source link

Add several interfaces for Clang AST nodes. #661

Closed anthro-poid closed 2 months ago

github-actions[bot] commented 2 months ago

Cpp-Linter Report :warning:

Some files did not pass the configured checks!

clang-format reports: 6 file(s) not formatted - include/vast/Interfaces/AST/ContextInterface.hpp - include/vast/Interfaces/AST/DeclInterface.hpp - include/vast/Interfaces/AST/ExprInterface.hpp - include/vast/Interfaces/AST/TypeInterface.hpp - lib/vast/Dialect/HighLevel/HighLevelOps.cpp - lib/vast/Interfaces/AST/ContextInterface.cpp
clang-tidy reports: 4 concern(s) - **include/vast/Interfaces/AST/ContextInterface.hpp:16:10:** error: [clang-diagnostic-error] > 'vast/Interfaces/AST/ContextInterface.h.inc' file not found ```hpp 16 | #include "vast/Interfaces/AST/ContextInterface.h.inc" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` - **include/vast/Interfaces/AST/DeclInterface.hpp:16:10:** error: [clang-diagnostic-error] > 'vast/Interfaces/AST/DeclInterface.h.inc' file not found ```hpp 16 | #include "vast/Interfaces/AST/DeclInterface.h.inc" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` - **include/vast/Interfaces/AST/ExprInterface.hpp:16:10:** error: [clang-diagnostic-error] > 'vast/Interfaces/AST/ExprInterface.h.inc' file not found ```hpp 16 | #include "vast/Interfaces/AST/ExprInterface.h.inc" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` - **include/vast/Interfaces/AST/TypeInterface.hpp:16:10:** error: [clang-diagnostic-error] > 'vast/Interfaces/AST/TypeInterface.h.inc' file not found ```hpp 16 | #include "vast/Interfaces/AST/TypeInterface.h.inc" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```

Have any feedback or feature suggestions? Share it here.