[PATCH] D150139: [clang-repl] Enable basic multiline support.

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 9 05:27:46 PDT 2023


aaron.ballman added inline comments.


================
Comment at: clang/test/Interpreter/multiline.cpp:12-17
+void f(int x) \ 
+{                                               \
+  printf("x=\
+          %d", x); \
+}
+f(i);
----------------
Another fun test case:
```
// Requires -ftrigraphs but the following line ends with a backslash (surprise!)
i=??/
  12;
```


Repository:
  rC Clang

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

https://reviews.llvm.org/D150139



More information about the cfe-commits mailing list