================ @@ -565,10 +565,9 @@ Scanner::cleanStringIfNeeded(const dependency_directives_scan::Token &Tok) { const char *BufPtr = Input.begin() + Tok.Offset; const char *AfterIdent = Input.begin() + Tok.getEnd(); while (BufPtr < AfterIdent) { - unsigned Size; - Spelling[SpellingLength++] = - Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts); - BufPtr += Size; + auto CharAndSize = Lexer::getCharAndSizeNoWarn(BufPtr, LangOpts); ---------------- cor3ntin wrote:
Structured binding here? https://github.com/llvm/llvm-project/pull/70543 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits