[package]
edition = "2024"
name = "cpp_code_analysis"
version = "0.4.0"
authors = ["CppCXY"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The analysis layer of cpp_ls: the preprocessor, symbol scopes, type inference and the semantic checks."
readme = "README.md"
keywords = [
"cpp",
"language-server",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/CppCXY/cpp_ls"
resolver = "2"
[features]
perf-probe = []
[lib]
name = "cpp_code_analysis"
path = "src/lib.rs"
[[test]]
name = "alias_members"
path = "tests/alias_members.rs"
[[test]]
name = "alias_qualified_members"
path = "tests/alias_qualified_members.rs"
[[test]]
name = "allocation_probe"
path = "tests/allocation_probe.rs"
[[test]]
name = "allocator_probe"
path = "tests/allocator_probe.rs"
[[test]]
name = "api_style"
path = "tests/api_style.rs"
[[test]]
name = "c_corpus"
path = "tests/c_corpus.rs"
[[test]]
name = "c_declarators"
path = "tests/c_declarators.rs"
[[test]]
name = "checks"
path = "tests/checks.rs"
[[test]]
name = "class_body_continuity"
path = "tests/class_body_continuity.rs"
[[test]]
name = "closure_probe"
path = "tests/closure_probe.rs"
[[test]]
name = "closure_symbol_probe"
path = "tests/closure_symbol_probe.rs"
[[test]]
name = "codestyle_probe"
path = "tests/codestyle_probe.rs"
[[test]]
name = "cold_start_memory_probe"
path = "tests/cold_start_memory_probe.rs"
[[test]]
name = "completion"
path = "tests/completion.rs"
[[test]]
name = "completion_config"
path = "tests/completion_config.rs"
[[test]]
name = "completion_doc"
path = "tests/completion_doc.rs"
[[test]]
name = "conditional_definitions"
path = "tests/conditional_definitions.rs"
[[test]]
name = "conditional_environment"
path = "tests/conditional_environment.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "constrained_completion"
path = "tests/constrained_completion.rs"
[[test]]
name = "contracts"
path = "tests/contracts.rs"
[[test]]
name = "cook_cost_probe"
path = "tests/cook_cost_probe.rs"
[[test]]
name = "cook_fixture_probe"
path = "tests/cook_fixture_probe.rs"
[[test]]
name = "cooked"
path = "tests/cooked.rs"
[[test]]
name = "cpp_corpus"
path = "tests/cpp_corpus.rs"
[[test]]
name = "definition"
path = "tests/definition.rs"
[[test]]
name = "diagnostics"
path = "tests/diagnostics.rs"
[[test]]
name = "diagnostics_rate"
path = "tests/diagnostics_rate.rs"
[[test]]
name = "diagnostics_sweep_probe"
path = "tests/diagnostics_sweep_probe.rs"
[[test]]
name = "diagnostics_twice_probe"
path = "tests/diagnostics_twice_probe.rs"
[[test]]
name = "documentation"
path = "tests/documentation.rs"
[[test]]
name = "emplace_probe"
path = "tests/emplace_probe.rs"
[[test]]
name = "expand"
path = "tests/expand.rs"
[[test]]
name = "file"
path = "tests/file.rs"
[[test]]
name = "filefacts_probe"
path = "tests/filefacts_probe.rs"
[[test]]
name = "folding"
path = "tests/folding.rs"
[[test]]
name = "format"
path = "tests/format.rs"
[[test]]
name = "format_scanner"
path = "tests/format_scanner.rs"
[[test]]
name = "generics"
path = "tests/generics.rs"
[[test]]
name = "graph"
path = "tests/graph.rs"
[[test]]
name = "guard_probe"
path = "tests/guard_probe.rs"
[[test]]
name = "header_context"
path = "tests/header_context.rs"
[[test]]
name = "headers_sweep"
path = "tests/headers_sweep.rs"
[[test]]
name = "idle_pump_probe"
path = "tests/idle_pump_probe.rs"
[[test]]
name = "inactive_regions"
path = "tests/inactive_regions.rs"
[[test]]
name = "include_resolution_probe"
path = "tests/include_resolution_probe.rs"
[[test]]
name = "index_qualified_probe"
path = "tests/index_qualified_probe.rs"
[[test]]
name = "inference_probe"
path = "tests/inference_probe.rs"
[[test]]
name = "inlay"
path = "tests/inlay.rs"
[[test]]
name = "iterator_element_of_a_const_container"
path = "tests/iterator_element_of_a_const_container.rs"
[[test]]
name = "keystroke_probe"
path = "tests/keystroke_probe.rs"
[[test]]
name = "lambda_parameters"
path = "tests/lambda_parameters.rs"
[[test]]
name = "language"
path = "tests/language.rs"
[[test]]
name = "layout"
path = "tests/layout.rs"
[[test]]
name = "library_config"
path = "tests/library_config.rs"
[[test]]
name = "lifetime"
path = "tests/lifetime.rs"
[[test]]
name = "lua_source_reports"
path = "tests/lua_source_reports.rs"
[[test]]
name = "macro_arguments"
path = "tests/macro_arguments.rs"
[[test]]
name = "macro_expansion"
path = "tests/macro_expansion.rs"
[[test]]
name = "macro_member_types"
path = "tests/macro_member_types.rs"
[[test]]
name = "macros"
path = "tests/macros.rs"
[[test]]
name = "mark_probe"
path = "tests/mark_probe.rs"
[[test]]
name = "members_cost_probe"
path = "tests/members_cost_probe.rs"
[[test]]
name = "members_probe"
path = "tests/members_probe.rs"
[[test]]
name = "members_real"
path = "tests/members_real.rs"
[[test]]
name = "memory_probe"
path = "tests/memory_probe.rs"
[[test]]
name = "messages"
path = "tests/messages.rs"
[[test]]
name = "missing_include_probe"
path = "tests/missing_include_probe.rs"
[[test]]
name = "modifiers"
path = "tests/modifiers.rs"
[[test]]
name = "module_hover_probe"
path = "tests/module_hover_probe.rs"
[[test]]
name = "module_info"
path = "tests/module_info.rs"
[[test]]
name = "module_semantics"
path = "tests/module_semantics.rs"
[[test]]
name = "modules"
path = "tests/modules.rs"
[[test]]
name = "modules_probe"
path = "tests/modules_probe.rs"
[[test]]
name = "namespace_macros"
path = "tests/namespace_macros.rs"
[[test]]
name = "neovim_probe"
path = "tests/neovim_probe.rs"
[[test]]
name = "nested_conditional"
path = "tests/nested_conditional.rs"
[[test]]
name = "no_global_state"
path = "tests/no_global_state.rs"
[[test]]
name = "one_file"
path = "tests/one_file.rs"
[[test]]
name = "one_file_probe"
path = "tests/one_file_probe.rs"
[[test]]
name = "out_of_class_members"
path = "tests/out_of_class_members.rs"
[[test]]
name = "outline"
path = "tests/outline.rs"
[[test]]
name = "overload_by_arguments"
path = "tests/overload_by_arguments.rs"
[[test]]
name = "parse_memory_probe"
path = "tests/parse_memory_probe.rs"
[[test]]
name = "partition_probe"
path = "tests/partition_probe.rs"
[[test]]
name = "patch_probe"
path = "tests/patch_probe.rs"
[[test]]
name = "preprocess"
path = "tests/preprocess.rs"
[[test]]
name = "program_stream_separators"
path = "tests/program_stream_separators.rs"
[[test]]
name = "publication_revision"
path = "tests/publication_revision.rs"
[[test]]
name = "pump_probe"
path = "tests/pump_probe.rs"
[[test]]
name = "ranges"
path = "tests/ranges.rs"
[[test]]
name = "read_ahead_probe"
path = "tests/read_ahead_probe.rs"
[[test]]
name = "real_project_probe"
path = "tests/real_project_probe.rs"
[[test]]
name = "reference_cost_probe"
path = "tests/reference_cost_probe.rs"
[[test]]
name = "references_probe"
path = "tests/references_probe.rs"
[[test]]
name = "refinement"
path = "tests/refinement.rs"
[[test]]
name = "refinement_probe"
path = "tests/refinement_probe.rs"
[[test]]
name = "reflection"
path = "tests/reflection.rs"
[[test]]
name = "rendered_reading"
path = "tests/rendered_reading.rs"
[[test]]
name = "rendering_real"
path = "tests/rendering_real.rs"
[[test]]
name = "rendering_scope"
path = "tests/rendering_scope.rs"
[[test]]
name = "reported_defects"
path = "tests/reported_defects.rs"
[[test]]
name = "reported_parameters"
path = "tests/reported_parameters.rs"
[[test]]
name = "resolution_rate"
path = "tests/resolution_rate.rs"
[[test]]
name = "response_files"
path = "tests/response_files.rs"
[[test]]
name = "scale_probe"
path = "tests/scale_probe.rs"
[[test]]
name = "scope_probe"
path = "tests/scope_probe.rs"
[[test]]
name = "scopes"
path = "tests/scopes.rs"
[[test]]
name = "selection"
path = "tests/selection.rs"
[[test]]
name = "sema_cost"
path = "tests/sema_cost.rs"
[[test]]
name = "semantic"
path = "tests/semantic.rs"
[[test]]
name = "semantic_real_probe"
path = "tests/semantic_real_probe.rs"
[[test]]
name = "signature"
path = "tests/signature.rs"
[[test]]
name = "signature_real"
path = "tests/signature_real.rs"
[[test]]
name = "slice_probe"
path = "tests/slice_probe.rs"
[[test]]
name = "smart_arrow"
path = "tests/smart_arrow.rs"
[[test]]
name = "start_shape"
path = "tests/start_shape.rs"
[[test]]
name = "std_set_probe"
path = "tests/std_set_probe.rs"
[[test]]
name = "std_visibility_probe"
path = "tests/std_visibility_probe.rs"
[[test]]
name = "stored_refinement"
path = "tests/stored_refinement.rs"
[[test]]
name = "style_checks"
path = "tests/style_checks.rs"
[[test]]
name = "subscript_overloads"
path = "tests/subscript_overloads.rs"
[[test]]
name = "subscript_qualifiers"
path = "tests/subscript_qualifiers.rs"
[[test]]
name = "summary_cost_probe"
path = "tests/summary_cost_probe.rs"
[[test]]
name = "symbol"
path = "tests/symbol.rs"
[[test]]
name = "targets"
path = "tests/targets.rs"
[[test]]
name = "toolchain"
path = "tests/toolchain.rs"
[[test]]
name = "translation_unit"
path = "tests/translation_unit.rs"
[[test]]
name = "types"
path = "tests/types.rs"
[[test]]
name = "ue"
path = "tests/ue.rs"
[[test]]
name = "ue_engine"
path = "tests/ue_engine.rs"
[[test]]
name = "ue_lint"
path = "tests/ue_lint.rs"
[[test]]
name = "undef_of_an_included_macro"
path = "tests/undef_of_an_included_macro.rs"
[[test]]
name = "unit_differential_probe"
path = "tests/unit_differential_probe.rs"
[[test]]
name = "unit_identity_probe"
path = "tests/unit_identity_probe.rs"
[[test]]
name = "unit_probe"
path = "tests/unit_probe.rs"
[[test]]
name = "unit_read_probe"
path = "tests/unit_read_probe.rs"
[[test]]
name = "unit_scope_boundary"
path = "tests/unit_scope_boundary.rs"
[[test]]
name = "unit_stream_probe"
path = "tests/unit_stream_probe.rs"
[[test]]
name = "visibility_probe"
path = "tests/visibility_probe.rs"
[[test]]
name = "walk_probe"
path = "tests/walk_probe.rs"
[dependencies.cpp_formatter]
version = "0.4.0"
[dependencies.cpp_parser]
version = "0.4.0"
[dependencies.cpp_toolchain]
version = "0.4.0"
[dependencies.glob]
version = "0.3"
[dependencies.log]
version = "0.4.33"
[dependencies.redb]
version = "4.4.0"
[dependencies.rust-i18n]
version = "3"
[dependencies.rustc-hash]
version = "2"
[dependencies.smol_str]
version = "0.2"
features = ["serde"]
[dependencies.zstd]
version = "0.13"
[dev-dependencies.mimalloc-safe]
version = "0.1.70"