mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add BCOffsetRAII to getDecl() and getType() so that these functions preserve the current cursor position. This spends an extra save and restore to avoid accidentally shooting ourselves in the foot by losing our position (see r6516). No functionality change. Swift SVN r6750
68 KiB
68 KiB