diff options
author | Haojian Wu <hokein.wu@gmail.com> | 2020-08-12 09:20:23 +0200 |
---|---|---|
committer | Haojian Wu <hokein.wu@gmail.com> | 2020-08-12 09:20:23 +0200 |
commit | dc7b1e9db58152273d3232cca3fa95cef721796b (patch) | |
tree | 4d9db4d613a60bb0ab059937c68111140c74721c /clang/unittests/Tooling/Syntax/TreeTest.cpp | |
parent | e6c5e6efd080ab80f133a6591a7e4f0b617c291f (diff) | |
download | llvm-dc7b1e9db58152273d3232cca3fa95cef721796b.zip llvm-dc7b1e9db58152273d3232cca3fa95cef721796b.tar.gz llvm-dc7b1e9db58152273d3232cca3fa95cef721796b.tar.bz2 |
[AST] Fix the CXXFoldExpr source range when parentheses range is invalid.
The CXXFoldExpr's range is invalid if the cxxfoldexpr is formed via the
Concept's TypeContraints (because the parentheses are not written in the
source code). We fallback to use the range from the pattern.
Differential Revision: https://reviews.llvm.org/D85645
Diffstat (limited to 'clang/unittests/Tooling/Syntax/TreeTest.cpp')
0 files changed, 0 insertions, 0 deletions