llvm-project/clang-tools-extra/clangd/test
Archibald Elliott 3c97f6cab9 [Support] Move getHostNumPhysicalCores to Threading.h
This change is focussed on simplifying `Support/Host.h` to only do
target detection. In this case, this function is close in usage to
existing functions in `Support/Threading.h`, so I moved it into there.
The function is also renamed to `llvm::get_physical_cores()` to match
the style of threading's functions.

The big change here is that now if you have threading disabled,
`llvm::get_physical_cores()` will return -1, as if it had not been able
to work out the right info. This is due to how Threading.cpp includes
OS-specific code/headers. This seems ok, as if threading is disabled,
LLVM should not need to know the number of physical cores.

Differential Revision: https://reviews.llvm.org/D137836
2022-11-29 13:14:13 +00:00
..
Inputs [Support] Move getHostNumPhysicalCores to Threading.h 2022-11-29 13:14:13 +00:00
index-serialization [clangd] Extend SymbolOrigin, stop serializing it 2022-01-13 08:26:12 +01:00
remote-index [clangd] Introduce a log-prefix flag to remote-index-server 2021-06-25 16:51:29 +02:00
xpc
CMakeLists.txt [cmake] Provide CURRENT_TOOLS_DIR centrally, replacing CLANG_TOOLS_DIR 2022-03-25 20:22:01 +01:00
ast-no-range.test [clangd] Allow AST request without range 2021-04-23 21:35:42 +02:00
ast.test [clangd] Add textDocument/ast extension method to dump the AST 2020-11-20 01:13:28 +01:00
background-index.test
call-hierarchy.test [clangd] Call hierarchy (ClangdLSPServer layer) 2020-11-23 20:44:07 -05:00
check-fail.test [clangd] Enable relative configs in check mode 2021-07-30 14:23:48 +02:00
check-lines.test [clangd] Enable relative configs in check mode 2021-07-30 14:23:48 +02:00
check.test [clangd] Enable relative configs in check mode 2021-07-30 14:23:48 +02:00
code-action-request.test [clangd] Support CodeActionParams.only 2020-10-29 09:44:08 +01:00
compile-commands-path-in-initialize.test
completion-auto-trigger.test
completion-snippets.test
completion.test
config.test [clangd] Provide suggestions with invalid config keys 2020-12-15 18:16:17 +00:00
crash-non-added-files.test [clangd] Move DraftStore from ClangdLSPServer into ClangdServer. 2021-03-02 22:58:50 +01:00
crash-parse.test [clangd] Add integration test for crash handling 2021-10-27 11:52:31 +02:00
crash-preamble.test [clangd] Add integration test for crash handling 2021-10-27 11:52:31 +02:00
delimited-input-comment-at-the-end.test
dependency-output.test
diagnostic-category.test
diagnostics-no-tidy.test
diagnostics-notes.test
diagnostics-tidy.test [clangd] Change the url for clang-tidy check documentation 2022-08-05 08:42:52 +01:00
did-change-configuration-params.test Revert "Revert "[clangd] Adjust compile flags to contain only the requested file as input"" 2021-07-27 14:49:53 +02:00
document-link.test [clangd] Don't rely on builtin headers for document-link.test. 2021-02-01 15:36:34 +01:00
execute-command.test
exit-eof.test
exit-with-shutdown.test
exit-without-shutdown.test
filestatus.test
fixits-codeaction.test
fixits-command.test
fixits-embed-in-diagnostic.test
folding-range.test [clangd] Fix LineFoldingOnly flag is not propagated correctly to ClangdServer. 2022-09-05 15:55:29 +02:00
formatting.test
hover.test
implementations.test [clangd] textDocument/implementation (LSP layer) 2020-11-23 13:50:44 +01:00
index-tools.test
indexer.test [clangd] Unify compiler invocation creation 2021-07-30 15:22:51 +02:00
initialize-params-invalid.test
initialize-params.test [clangd] Add "usedAsMutablePointer" highlighting modifier 2022-11-07 11:58:33 +01:00
initialize-sequence.test
inlayHints.test [clangd] Support for standard inlayHint protocol 2022-05-10 18:59:15 +02:00
input-mirror.test
lit.cfg.py [clang-tools-extra] [test] Use CLANG_NO_DEFAULT_CONFIG=1 2022-10-04 20:08:56 +02:00
lit.local.cfg
lit.site.cfg.py.in [clang-tools-extra] [clangd] Respect llvm_shlib_dir in tests 2022-10-04 22:12:37 +02:00
log.test [clangd] Introduce a CommandLineConfigProvider 2021-03-11 13:35:05 +01:00
memory_tree.test [clangd] Use URIs instead of paths in the index file list 2021-03-06 10:47:05 +03:00
metrics.test
path-mappings.test
protocol.test
references.test [clangd] Respect ReferencesParams.context.includeDeclarations 2021-02-01 17:07:02 +01:00
rename.test [clangd] Extend the rename API. 2020-10-02 16:03:44 +02:00
request-reply.test
selection-range.test
semantic-tokens-refresh.test [clangd] Introduce client state invalidation 2021-03-04 11:15:10 +01:00
semantic-tokens.test [clangd] Add "usedAsMutablePointer" highlighting modifier 2022-11-07 11:58:33 +01:00
signature-help-with-offsets.test
signature-help.test [clangd] Provide documentation as MarkupContent in signaturehelp 2021-12-10 12:58:08 +01:00
spaces-in-delimited-input.test
symbol-info.test [clangd] Add decl/def support to SymbolDetails 2022-08-01 14:42:19 -04:00
symbols.test [clangd] Populate detail field in document symbols 2021-02-18 16:53:41 +01:00
system-include-extractor.test [clangd] Avoid escaping issues in system-include-extractor.test 2022-11-08 23:48:15 +01:00
target_info.test
test-uri-posix.test
test-uri-windows.test
textdocument-didchange-fail.test
too_large.test
trace.test
tweaks-format.test
type-definition.test [clangd] Implement textDocument/typeDefinition 2022-01-13 22:15:10 +01:00
type-hierarchy-ext.test [clangd] Support for standard type hierarchy 2022-08-17 09:29:15 +02:00
type-hierarchy.test [clangd] Support for standard type hierarchy 2022-08-17 09:29:15 +02:00
unsupported-method.test
utf8.test
version.test
xrefs.test