commit | c9b325088d14a816b101857eecd1042335aad4e0 | [log] [tgz] |
---|---|---|
author | Ilya Biryukov <ibiryukov@google.com> | Wed Dec 07 13:50:47 2022 +0100 |
committer | Ilya Biryukov <ibiryukov@google.com> | Wed Dec 07 13:52:22 2022 +0100 |
tree | a9faa349dead41b6f40ab32688e49f4e089dd15c | |
parent | 88594d1f85b8386c6195d10ab973ae7d349fa8bd [diff] [blame] |
[clangd] Allow to build Clangd without decision forest Make it possible to disable building the decision forest ranking model for clangd. To unbreak build of Clangd on PPC32 in gentoo, see https://bugs.gentoo.org/829602 Based on D138520. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D139107
diff --git a/clang-tools-extra/clangd/Feature.cpp b/clang-tools-extra/clangd/Feature.cpp index 5664a88..8ff7294 100644 --- a/clang-tools-extra/clangd/Feature.cpp +++ b/clang-tools-extra/clangd/Feature.cpp
@@ -66,6 +66,10 @@ #if !CLANGD_TIDY_CHECKS "-tidy" #endif + +#if !CLANGD_DECISION_FOREST + "-decision_forest" +#endif ; }