[all-commits] [llvm/llvm-project] 65c8e2: [pseudo] Fix an invalid assertion on recoveryBrack...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Thu Jul 21 05:02:29 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 65c8e246222940b458b72dddf7158303ca33c2ba
https://github.com/llvm/llvm-project/commit/65c8e246222940b458b72dddf7158303ca33c2ba
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2022-07-21 (Thu, 21 Jul 2022)
Changed paths:
M clang-tools-extra/pseudo/lib/cxx/CXX.cpp
Log Message:
-----------
[pseudo] Fix an invalid assertion on recoveryBrackets.
The `Begin` is not the index of the left bracket, `Begin-1` is,
otherwise the assertion will be triggered on case `Foo().call();`.
More information about the All-commits
mailing list