File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -460,8 +460,10 @@ TokenBuffer::spelledForExpanded(llvm::ArrayRef<syntax::Token> Expanded) const {
460
460
return llvm::None;
461
461
const syntax::Token *First = &Expanded.front ();
462
462
const syntax::Token *Last = &Expanded.back ();
463
- auto [FirstSpelled, FirstMapping] = spelledForExpandedToken (First);
464
- auto [LastSpelled, LastMapping] = spelledForExpandedToken (Last);
463
+ const syntax::Token *FirstSpelled, *LastSpelled;
464
+ const TokenBuffer::Mapping *FirstMapping, *LastMapping;
465
+ std::tie (FirstSpelled, FirstMapping) = spelledForExpandedToken (First);
466
+ std::tie (LastSpelled, LastMapping) = spelledForExpandedToken (Last);
465
467
466
468
FileID FID = SourceMgr->getFileID (FirstSpelled->location ());
467
469
// FIXME: Handle multi-file changes by trying to map onto a common root.
You can’t perform that action at this time.
0 commit comments