hokein added inline comments.

================
Comment at: clang-tools-extra/clangd/Protocol.cpp:800
+  return O && O.map("applied", R.applied) &&
+         O.mapOptional("failureReason", R.failureReason);
 }
----------------
R.failureReason's type is `llvm::Optional<std::string>`, I think we should 
probably use the `O.map` (the overload one for llvm::Optional)?


================
Comment at: clang-tools-extra/clangd/Protocol.cpp:1130
+         O.mapOptional("compilationDatabasePath",
+                       Opts.compilationDatabasePath) &&
+         O.mapOptional("fallbackFlags", Opts.fallbackFlags) &&
----------------
And this one.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89131

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

Reply via email to