Skip to content

compile time regression introduced by Sema checking for __builtin_counted_by_ref #115520

@rapidsna

Description

@rapidsna

As reported by @nikic
#114495 (comment)

This is likely because the checks are currently implemented to walk through the whole child nodes for every single assignments. We may be able to remove the overhead by rolling up the information about usage of counted_by or __builtin_counted_by_ref to the assignment, instead of re-visiting child nodes.

Metadata

Metadata

Assignees

Labels

clang:bounds-safetyIssue/PR relating to the experimental -fbounds-safety feature in Clang

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions