aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/Syntax/TreeTest.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein.wu@gmail.com>2020-08-12 09:20:23 +0200
committerHaojian Wu <hokein.wu@gmail.com>2020-08-12 09:20:23 +0200
commitdc7b1e9db58152273d3232cca3fa95cef721796b (patch)
tree4d9db4d613a60bb0ab059937c68111140c74721c /clang/unittests/Tooling/Syntax/TreeTest.cpp
parente6c5e6efd080ab80f133a6591a7e4f0b617c291f (diff)
downloadllvm-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