This is an archive of the discontinued LLVM Phabricator instance.

[clang-c] Visit ranged for initializer
Needs ReviewPublic

Authored by kiloalphaindia on Aug 26 2023, 2:47 AM.

Details

Summary

Visit the ranged for init statement when using C-Interface.

Diff Detail

Event Timeline

kiloalphaindia created this revision.Aug 26 2023, 2:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 26 2023, 2:47 AM
Herald added a subscriber: arphaman. · View Herald Transcript
kiloalphaindia requested review of this revision.Aug 26 2023, 2:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 26 2023, 2:47 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Can we get this into release/17.x still?

Can we get this into release/17.x still?

Alas, but no -- 17.x changes are being limited to just fixes for critical issues/regressions at this point. (Once we start issuing release candidates, new features typically are not ported onto the release branch.)

Thank you for this! Can you also add a release note about the changes to clang/docs/ReleaseNotes.rst?

clang/tools/libclang/CIndex.cpp
2834–2836

AddStmt() already knows how to handle a null pointer.

clang/unittests/libclang/LibclangTest.cpp
1142–1166

Just tiny nits, no functional changes.