carlosgalvezp requested changes to this revision.
carlosgalvezp added inline comments.
This revision now requires changes to proceed.


================
Comment at: clang-tools-extra/clang-tidy/ClangTidyOptions.cpp:94-95
+    // Nested option names need to be converted to null terminated strings for
+    // yaml serialization
+    llvm::SmallString<64> Buffer;
+    auto ToCString = [&Buffer](StringRef Str) {
----------------
This function has become very large and hard to read. Would it be possible to 
split it into subfunctions so it's easier to follow? I think it would make 
sense to create 1 function per different format supported (I believe with this 
patch there's now 3 different formats supported).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147955

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

Reply via email to