[clang] [clang][ssaf] Add `JSONFormat` serialization support for `LUSummary` and `LUSummaryEncoding` (PR #184037)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 2 04:02:11 PST 2026


================
@@ -53,7 +53,7 @@ llvm::Expected<Value> readJSON(llvm::StringRef Path) {
   return llvm::json::parse(BufferOrError.get()->getBuffer());
 }
 
-llvm::Error writeJSON(Value &&Value, llvm::StringRef Path) {
+llvm::Error writeJSON(Value &&Val, llvm::StringRef Path) {
----------------
steakhal wrote:

In the declaration of this function the first parameter is named `V`. I was thinking if we should keep them in sync.

https://github.com/llvm/llvm-project/pull/184037


More information about the cfe-commits mailing list