[clang-tools-extra] [clangd] Re-land "support outgoing calls in call hierarchy" (PR #117673)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 3 21:48:42 PST 2024


================
@@ -163,7 +163,7 @@ class Checker {
   unsigned ErrCount = 0;
 
   Checker(llvm::StringRef File, const ClangdLSPServer::Options &Opts)
-      : File(File), Opts(Opts) {}
+      : File(File), Opts(Opts), Index(/*SupportContainedRefs=*/false) {}
----------------
HighCommander4 wrote:

My original thinking was that `--check` does not perform any outgoing calls requests. But thinking more about it, a common use of `--check` is to reproduce crashes, so the more codepaths it executes (including the one behind this flag) the better in that regard.

https://github.com/llvm/llvm-project/pull/117673


More information about the cfe-commits mailing list