Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@ All notable changes to `trace` are documented in this file.

## Unreleased

### Cover standard headers behind external headers in the canonical prelude

The canonical preamble scan read only project sources and headers. A standard
header reached through an external SDK header (for example `<windows.h>`
through a vendored `<uv.h>`) therefore stayed uncovered; because canonical
indexing keeps `separate_system_headers` off, its whole compiler-root closure
was inlined into every project header and translation unit that included the
SDK header, greatly enlarging their expansion text and line maps. The scan now
follows project and external includes transitively, including quoted
spellings that resolve into the compiler roots, with the run's own search
paths, and admits the compiler-default angle spellings they reach, so those
headers become prelude entries covered by the closure. A quoted spelling adds
no preamble line itself, the C++ standard-library tree is not raw-walked,
`# include` with a separating space is recognized, and transitively reached
spellings are appended after the project's own angle spellings to preserve
the baseline include order. Each distinct spelling's search-list result is
memoized, so the scan walks the include directories once per spelling rather
than once per occurrence. See
[Canonical system-header prelude](docs/CANONICAL_SYSTEM_PRELUDE.md).

### Track nested container elements

Callback and pointer values stored in nested modeled containers now reach
Expand Down
Loading
Loading