Clava is a LARA weaver that supports C, C++, CUDA and OpenCL. It is open source and available at GitHub.
Clava uses LARA scripts to analyze and transform source code.
Clava Features - Details about Clava-specific features.