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 :)
Paths
| Differential D118008
[demangler] write-protect non-canonical source ClosedPublic Authored by urnathan on Jan 23 2022, 2:17 PM.
Details
Summary 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 :) This revision is now accepted and ready to land.Jan 24 2022, 4:04 AM Closed by commit rG897d1bb659c2: [demangler] write-protect non-canonical source (authored by urnathan). · Explain WhyJan 24 2022, 5:29 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 402484 libcxxabi/src/demangle/cp-to-llvm.shllvm/include/llvm/Demangle/ItaniumDemangle.h
llvm/include/llvm/Demangle/StringView.h
llvm/include/llvm/Demangle/Utility.h
|
Is the indentation proper?