Files
swift-mirror/lib/Serialization/ModuleFile.cpp
Jordan Rose d6c135291e [serialization] Be defensive in preserving the deserialization cursor's offset.
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
2013-07-30 21:10:05 +00:00

68 KiB