in a StringRef to bind to them forces them to be unpacked into the Record as individual
bytes. This is wasteful, but not likely to be measurable in this instance.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173066
91177308-0d34-0410-b5e6-
96231b3b80d8
// Read a record.
Record.clear();
- switch (SLocEntryCursor.readRecord(E.ID, Record)) {
+ StringRef Blob;
+ switch (SLocEntryCursor.readRecord(E.ID, Record, &Blob)) {
default: // Default behavior: ignore.
break;