llvm / llvm/llvm-project

[Clang] Consolidate code for generating names for implicitly-generated variables

Open
#208,770 3 comments 0 reactions 1 assignee Claimed by @Sirraide View on GitHub
clang:frontend code-cleanup
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

In a few places in Sema in the range-based `for` loop and expansion statements code, we generate names like `__begin1` etc. in a few different places (sometimes based on scope depth). We should probably move that into a helper function or consolidate it somehow

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.