[Syntax] Mark synthesized nodes as modifiable
authorIlya Biryukov <ibiryukov@google.com>
Tue, 14 Jan 2020 15:27:06 +0000 (16:27 +0100)
committerIlya Biryukov <ibiryukov@google.com>
Tue, 14 Jan 2020 15:41:09 +0000 (16:41 +0100)
commit07a41018e9d27f67f7b4295eb7e00e0345c0aacf
tree04639b8d6f393da8f548a908e8f56a7c22af5025
parent3b929fe7763570fc1d4a4691a53257a4a0b7760e
[Syntax] Mark synthesized nodes as modifiable

This was an oversight in the original patch.
Also add corresponding tests.
clang/include/clang/Tooling/Syntax/Tree.h
clang/lib/Tooling/Syntax/Synthesis.cpp
clang/unittests/Tooling/Syntax/TreeTest.cpp