Closed vadymchan closed 7 months ago
Hi @vadymchan,
Thanks for reaching out
Unfortunately, we're not aware of a way to customize llvm-header-guard
to generate project-based guards using relative paths
It seems like the tool might be designed for absolute paths
Kind regards, Marina
I encountered an issue with the
llvm-header-guard
check when running extension. It refactors header guards using absolute paths:This behavior isn't ideal. I'm looking for a guard style that reflects the project structure, such as:
, where MATHLIBRARY is project name and OPTIONS_H is file name (it's in ideal case, but at least the header guard should be file name - OPTIONS_H). Is there a way to customize
llvm-header-guard
to generate project-based, rather than absolute path-based, guards?