[Chapel Merge] Drop unnecessary calls to `c_str` in compiler

Branch: refs/heads/main
Revision: 6dc3b4f
Author: e-kayrakli
Link: Drop unnecessary calls to `c_str` in compiler by e-kayrakli · Pull Request #18447 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #18447 from e-kayrakli/drop-cstr

Drop unnecessary calls to c_str in compiler

Removes calls to c_str() as noted by @mppf in:

[Trivial, tested with a couple of GPU tests]

Modified Files:
M compiler/llvm/clangUtil.cpp

Compare: https://github.com/chapel-lang/chapel/compare/86c54e514156...6dc3b4fac3c7