[all-commits] [llvm/llvm-project] e159a3: [Syntax] Remove a strict valid source location ass...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Thu Feb 11 00:59:01 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e159a3ced4c54b539c165b1cc26424fa0b34d53e
https://github.com/llvm/llvm-project/commit/e159a3ced4c54b539c165b1cc26424fa0b34d53e
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2021-02-11 (Thu, 11 Feb 2021)
Changed paths:
M clang/lib/Tooling/Syntax/BuildTree.cpp
M clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
Log Message:
-----------
[Syntax] Remove a strict valid source location assertion for TypeLoc.
The EndLoc of a type loc can be invalid for broken code.
Also extend the existing test to support error code with `error-ok`
annotation.
Differential Revision: https://reviews.llvm.org/D96261
More information about the All-commits
mailing list