Skip to content

Starlarkify Objective-C option expansion and tokenization - #815

Open
dzbarsky wants to merge 1 commit into
bazelbuild:mainfrom
dzbarsky:codex/starlarkify-objc-option-tokenization
Open

Starlarkify Objective-C option expansion and tokenization#815
dzbarsky wants to merge 1 commit into
bazelbuild:mainfrom
dzbarsky:codex/starlarkify-objc-option-tokenization

Conversation

@dzbarsky

Copy link
Copy Markdown
Contributor

Replace _cc_internal.expand_and_tokenize with the existing Starlark make-variable expansion, location expansion, and Bourne-shell tokenization implementations. Move those existing helpers into cc_helper_internal.bzl so both C++ and Objective-C callers use the same implementation without introducing a load cycle; preserve the exported cc_common.objc_expand_and_tokenize API and its private-call checks.

Add Objective-C analysis coverage for quoted values, escaped spaces, make variables, escaped dollars, and source, non-ARC source, header, and data locations.

Validation: buildifier -mode=check and 31 passing Objective-C and C++ configured-target analysis tests, including both new Objective-C regression tests.

@dzbarsky
dzbarsky marked this pull request as ready for review July 31, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant