[all-commits] [llvm/llvm-project] 93dc73: [Lexer] Fix bug in `makeFileCharRange` called on s...
Yitzhak Mandelbaum via All-commits
all-commits at lists.llvm.org
Wed Jul 14 07:37:02 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 93dc73b1e0f31c712e5b8bbac14491ce55c414ad
https://github.com/llvm/llvm-project/commit/93dc73b1e0f31c712e5b8bbac14491ce55c414ad
Author: Yitzhak Mandelbaum <yitzhakm at google.com>
Date: 2021-07-14 (Wed, 14 Jul 2021)
Changed paths:
M clang/lib/Lex/Lexer.cpp
M clang/unittests/Lex/LexerTest.cpp
Log Message:
-----------
[Lexer] Fix bug in `makeFileCharRange` called on split tokens.
When the end loc of the specified range is a split token, `makeFileCharRange`
does not process it correctly. This patch adds proper support for split tokens.
Differential Revision: https://reviews.llvm.org/D105365
More information about the All-commits
mailing list