gribozavr2 accepted this revision.
gribozavr2 added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/lib/Tooling/Syntax/Synthesis.cpp:38
+                                        StringRef Spelling) {
+  auto *Leaf = createLeafLowLevel(A, Spelling);
+  assert(Leaf->getToken()->kind() == K &&
----------------
`createLeafLowLevel` now seems to be used only once, inline it?


================
Comment at: clang/unittests/Tooling/Syntax/SynthesisTest.cpp:46
+
+  auto *C = createLeaf(*Arena, tok::comma);
+
----------------
What does 'C' stand for?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87495/new/

https://reviews.llvm.org/D87495

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to