To try and void undesired changes to the non-canonical demangler sources, change the cp-to-llvm script to (a) write-protect the target files and (b) prepend 'do not edit' comments that are significant to emacs[*], and hopefully humans.
- bite me :)
Differential D118008
[demangler] write-protect non-canonical source urnathan on Jan 23 2022, 2:17 PM. Authored by
Details
To try and void undesired changes to the non-canonical demangler sources, change the cp-to-llvm script to (a) write-protect the target files and (b) prepend 'do not edit' comments that are significant to emacs[*], and hopefully humans.
Diff Detail Event Timeline
Comment Actions May I suggest an alternate approach: it could be cmake's job to do the copying. That way the LLVM headers would never live in git, and there would be only one source for each of them (?) Comment Actions But that would mean a cross-project rule, which is probably not a good thing. Forget about it.
Comment Actions Either that or remove the duplication entirely. Either requires more effort than I have the time for :) |
Is the indentation proper?