[all-commits] [llvm/llvm-project] 1d3d9c: [clang] Include type specifiers in typo correction...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Mon Jul 13 03:10:07 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1d3d9c7b589e6471edc0d8a2272c399d2ce6a13c
https://github.com/llvm/llvm-project/commit/1d3d9c7b589e6471edc0d8a2272c399d2ce6a13c
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2020-07-13 (Mon, 13 Jul 2020)
Changed paths:
M clang/lib/Parse/ParseTentative.cpp
M clang/test/Parser/cxx-template-decl.cpp
M clang/test/SemaCXX/typo-correction.cpp
Log Message:
-----------
[clang] Include type specifiers in typo correction when checking isCXXDeclarationSpecifiers.
- add more tests (the test added in https://github.com/llvm/llvm-project/commit/2f448467e4254ddc3191136c968e6054bc009b88 is weak);
- improve the `MyTemplate<type_typo, int>();` case, with this patch, typo correction
suggests the type decl, and no regressions found.
Differential Revision: https://reviews.llvm.org/D83025
More information about the All-commits
mailing list