ilya-biryukov added inline comments.

================
Comment at: clang-tools-extra/clangd/unittests/TweakTesting.h:44
+    // Snippet is an expression.
+    Expression,
+  };
----------------
ilya-biryukov wrote:
> I wonder whether we could use `Function` and get rid of 'expression' mode 
> completely? WDYT?
> One can easily turn an expression into a statement by adding a semicolon.
Unsent draft comments here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D65525



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

Reply via email to