[docs] Expand example on stand-alone builds.
authorFrancesco Petrogalli <francesco.petrogalli@apple.com>
Mon, 16 Jan 2023 09:29:11 +0000 (10:29 +0100)
committerFrancesco Petrogalli <francesco.petrogalli@apple.com>
Mon, 16 Jan 2023 15:02:06 +0000 (16:02 +0100)
commit730c7a45f5f653cba662224a98e79ee9ce7ae2c3
treec9a2f7730827da636048fc02b704cbd88ca2bb00
parentdb711f79ef57c96782f3e5093ee9b79509a317a4
[docs] Expand example on stand-alone builds.

1. Make explicit that the folder where to build a subproject in stand-alone mode can not be the same folder where LLVM was build.
2. Add a cut 'n paste example for building stand-alone `clang`.

Differential Revision: https://reviews.llvm.org/D141825
llvm/docs/GettingStarted.rst