[cfe-commits] r67204 - in /cfe/trunk/lib/Driver: Driver.cpp Makefile

Mike Stump mrs at apple.com
Wed Mar 18 13:37:02 PDT 2009


On Mar 18, 2009, at 12:05 PM, Daniel Dunbar wrote:
> 1. Can tools/driver/driver.cpp pass this in instead of having inside  
> the lib. The version should be particular to the client not the  
> library.

Not a big deal, but how would one get the library version information  
then?  In theory, we want the library to offer component bits for the  
version information, and default formatting with the ability of the  
client to override formatting as they see fit.  It doesn't make any  
sense for the client to tell the library what version the library is  
at.  The client can merely say how it wants the information formatted.

> 2. Not sure about this; but do you have enough Makefile foo that we  
> could automatically do this every time the clang-driver executable  
> was linked (but only then)?

I'm not sure I see a difference between the two.  Could you elaborate  
your concern?



More information about the cfe-commits mailing list