[LLVMdev] [PATCH] llvm-config: add svn revision to --version
Frits van Bommel
fvbommel at wxs.nl
Mon May 18 15:08:21 PDT 2009
David Greene wrote:
> There's an easy way to fix these kinds of problems. Deprecate interfaces for
> one release. I brought this up before but the idea was quickly shot down.
> It's insane to litter your code with #ifdefs based on SVN revisions.
>
> This is exactly the kind of situation that the LLVM community needs to
> address. Changing APIs is fine. Ripping out old versions without first
> deprecating them for a release causes nightmares all around.
On the other hand, I've found code breakage to be a very good motivator to fix
it right away :).
(In some cases, even before anyone (including me) ever saw the error...)
More information about the llvm-dev
mailing list