[all-commits] [llvm/llvm-project] f43ff3: [clang] Mark re-injected tokens appropriately duri...
kadir çetinkaya via All-commits
all-commits at lists.llvm.org
Fri Mar 12 09:18:58 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f43ff34ae67a6557fe9fd1ba0e992da18bd102f7
https://github.com/llvm/llvm-project/commit/f43ff34ae67a6557fe9fd1ba0e992da18bd102f7
Author: Kadir Cetinkaya <kadircet at google.com>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M clang/lib/Parse/ParsePragma.cpp
M clang/unittests/Tooling/Syntax/TokensTest.cpp
Log Message:
-----------
[clang] Mark re-injected tokens appropriately during pragma handling
This hides such tokens from TokenWatcher, preventing crashes in clients
trying to match spelled and expanded tokens.
Fixes https://github.com/clangd/clangd/issues/712
Differential Revision: https://reviews.llvm.org/D98483
More information about the All-commits
mailing list