Asm syntax

Hi team,
I have a project which consists of c/h files. I am libclang infrastructure to perform static code analysis. The project is designed to be compiled with GHS(Greenhills) compiler. The “asm” syntax of GHS is quite different from what clang supports.
Asm syntax of GHS looks like,
_asmleaf void functioname(){
//assembly instructions
}
Or
asm void functionname(){
//assembly instructions
}

So for such a syntax clang is throwing compilation error.

So is there a way to make clang not throw errors.

Thanks in advance