[cfe-users] Why re-compile clang with clang?

2019-10-19 Thread Pratyush Das via cfe-users
Hi, I noticed here - https://clang.llvm.org/docs/LibASTMatchersTutorial.html#step-0-obtaining-clang that it is recommended to recompile clang after building it for the first time with itself. Why is that required? Thanks, -- Pratyush Das(Reik) ___ cfe

Re: [cfe-users] Why re-compile clang with clang?

2019-10-19 Thread David Blaikie via cfe-users
Not a requirement, but a suggestion - generally clang/llvm are optimized best with themselves. So it's generally considered the "optimal" setup. On Sat, Oct 19, 2019 at 10:48 AM Pratyush Das via cfe-users < cfe-users@lists.llvm.org> wrote: > Hi, > > I noticed here - > https://clang.llvm.org/docs/

Re: [cfe-users] Why re-compile clang with clang?

2019-10-19 Thread Pratyush Das via cfe-users
Thanks! :) On Sat, 19 Oct 2019 at 23:20, David Blaikie wrote: > Not a requirement, but a suggestion - generally clang/llvm are optimized > best with themselves. So it's generally considered the "optimal" setup. > > On Sat, Oct 19, 2019 at 10:48 AM Pratyush Das via cfe-users < > cfe-users@lists.l