replacing kernel and handler names to avoid conflicts with C language keywords and intrinsic function names

This commit is contained in:
ALEXks
2024-04-05 12:37:59 +03:00
parent b65437a75c
commit 841eb0314d
5 changed files with 250 additions and 39 deletions

View File

@@ -357,6 +357,7 @@ SgStatement *InsertProcedureCopy(SgStatement *st_header, SgSymbol *sproc, int is
if (options.isOn(C_CUDA))
{
RenamingNewProcedureVariables(new_sproc); // to avoid conflicts with C language keywords
int flagHasDerivedTypeVariables = HasDerivedTypeVariables(new_header);
end_st = new_header->lastNodeOfStmt();