[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-users mailing list
cfe-users@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users


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/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-users mailing list
> cfe-users@lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
>
___
cfe-users mailing list
cfe-users@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users


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.llvm.org> wrote:
>
>> 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-users mailing list
>> cfe-users@lists.llvm.org
>> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
>>
>

-- 
Pratyush Das(Reik)
___
cfe-users mailing list
cfe-users@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users