njames93 added inline comments.

================
Comment at: llvm/lib/Support/YAMLTraits.cpp:894
+                                           std::string &Val) {
+  Val.clear();
+  size_t CurrentPos = 0;
----------------
If you want to do the same here...
```
  SmallVector<StringRef, 8> Lines;
  Scalar.split(Lines, "\n\n");
  Val = llvm::join(Lines, "\n");
  return StringRef();```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80301



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

Reply via email to