[PATCH] D87249: [SyntaxTree] Fix crash on functions with default arguments.
Dmitri Gribenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 7 23:43:45 PDT 2020
gribozavr2 accepted this revision.
gribozavr2 added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/unittests/Tooling/Syntax/BuildTreeTest.cpp:4177
+ auto x1 = [[X(1)]];
+ auto x2 = [[X(1, '2')]];
+}
----------------
Please also add tests that use this syntax:
```
X x1;
X x2(1);
X x3(1, '2');
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87249/new/
https://reviews.llvm.org/D87249
More information about the cfe-commits
mailing list