Skip to content

fix: remove digit separators from integer literals for clang-scan-deps C++ module compat#2035

Open
guptapratykshh wants to merge 2 commits intoNVIDIA:mainfrom
guptapratykshh:fix/remove-digit-separators
Open

fix: remove digit separators from integer literals for clang-scan-deps C++ module compat#2035
guptapratykshh wants to merge 2 commits intoNVIDIA:mainfrom
guptapratykshh:fix/remove-digit-separators

Conversation

@guptapratykshh
Copy link
Copy Markdown
Contributor

clang-scan-deps rejects apostrophe-separated digit literals (e.g. 1'000) when scanning dependencies for C++ modules. Remove all digit separators from integer literals in exec and stdexec headers so that dependency scanning succeeds without source patching on the consumer side.

…s C++ module compat

Signed-off-by: guptapratykshh <pratykshgupta9999@gmail.com>
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Apr 19, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Comment thread include/stdexec/__detail/__config.hpp
clang-scan-deps only parses #if/#else, #include, and import directives,
so digit separators in regular C++ code do not affect module scanning.
Only the __config.hpp change (in a #if directive) is necessary.

Signed-off-by: Pratyksh Gupta <product@revrag.ai>
@ericniebler
Copy link
Copy Markdown
Collaborator

/ok to test 8d4e20a

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.

2 participants