[clang-tools-extra] [clangd] [C++20] [Modules] Support code complete for C++20 modules (PR #110083)

kadir çetinkaya via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 26 05:21:52 PDT 2024


================
@@ -2108,7 +2116,7 @@ class CodeCompleteFlow {
 
 } // namespace
 
-clang::CodeCompleteOptions CodeCompleteOptions::getClangCompleteOpts() const {
+clang::CodeCompleteOptions CodeCompleteOptions::getClangCompleteOpts(bool ForceLoadExternal) const {
----------------
kadircet wrote:

instead of taking a parameter can you make it part of `clangd::CodeCompleteOptions`  and initialize it to true if we have `EnableExperimentalModulesSupport` ?

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


More information about the cfe-commits mailing list