From 16421d08d32b4ea3897c86e443ec1f3a351d3b9b Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Mon, 4 Jan 2021 18:50:37 +0100 Subject: [PATCH] README.md: Use anchor links to "Getting LLVM/Clang..." Finding a heading in the quite long README.md is challenging. If you try to build with LLVM, you already have enough challenges. Use anchor links to the "Getting LLVM/Clang for the Clang Code Model" heading. Change-Id: Ie0b29cf2f0ad3331666be1f322de840db697cc7b Reviewed-by: Cristian Adam --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b5ee4ac8132..4bbb4bc8dd6 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,8 @@ Prerequisites: * On Mac OS X: latest Xcode * On Linux: GCC 7 or later * LLVM/Clang 10 or later (optional, LLVM/Clang 11 is recommended. - See the section "Getting LLVM/Clang for the Clang Code Model". + See [instructions](#getting-llvmclang-for-the-clang-code-model) on how to + get LLVM. The ClangFormat, ClangPchManager and ClangRefactoring use the LLVM C++ API. Since the LLVM C++ API provides no compatibility guarantee, if later versions don't compile we don't support that version.) @@ -63,7 +64,7 @@ Note that if you install Qt via the online installer, the path to Qt must include the version number and compiler ABI. The path to the online installer content is not enough. -See "Getting LLVM/Clang for the Clang Code Model" for instructions on how to +See [instructions](#getting-llvmclang-for-the-clang-code-model) on how to get LLVM. mkdir qtcreator_build @@ -82,7 +83,7 @@ Note that if you install Qt via the online installer, the path to Qt must include the version number and compiler ABI. The path to the online installer content is not enough. -See "Getting LLVM/Clang for the Clang Code Model" for instructions on how to +See [instructions](#getting-llvmclang-for-the-clang-code-model) on how to get LLVM. Decide which compiler to use: MinGW or Microsoft Visual Studio.