Hello bearophile,
Leandro Lucarella:but about 2), one of the main goals of LLVM was to have a less restrictive license than GPL, so copying GPL code is not an option for them.Can't you copy it by something like 90%, enough to be able to call it different code (that's what I was referring with 'cosmetic changes')?
IIRC the only way to escape a GNU license is to do a cleanroom. If the file started under GNU, it will forever be GNU.
-- ... <IXOYE><
