Skip to content
Merged
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
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
# macos-14 builds with AppleClang 15 (Xcode 15.4), the oldest compiler CoreTrace builds
# the analyzer with; macos-latest has a newer one (#228).
os: [ubuntu-latest, macos-latest, macos-14]

steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 4 additions & 2 deletions src/app/AnalyzerApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1086,8 +1086,10 @@ static AppStatus analyzeWithSharedModuleLoading(const std::vector<std::string>&
continue;
if (common.params != wrapper.params)
common.pairs.clear();
std::erase_if(common.pairs,
[&](const auto& pair) { return wrapper.pairs.count(pair) == 0; });
// Captures the member, not the structured binding: AppleClang 15 cannot
// capture a structured binding.
std::erase_if(common.pairs, [&pairs = wrapper.pairs](const auto& pair)
{ return pairs.count(pair) == 0; });
}
}
grew = false;
Expand Down
Loading