[LLVMdev] How to identify LLVM version? [correction]

Joachim Durchholz jo at durchholz.org
Fri Jun 3 00:19:01 PDT 2011


A minor point: Make that function parameter an enum instead of a 
boolean. That would make it possible to extend the function so it 
returns other information without potentially breaking client code 
(which might pass in 1 or -1 or something entirely different to get 
repository information).

Just my 2c.

Regards,
Jo



More information about the llvm-dev mailing list