[PATCH] D129592: [llvm] Fix forward declaration in JSON.h

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 12 14:00:15 PDT 2022


serge-sans-paille created this revision.
serge-sans-paille added reviewers: lebedev.ri, nlopes.
Herald added a project: All.
serge-sans-paille requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

As spotted in #55780 methods of `json::Array` require `json::Value` to be completely defined, so they can't be defined in-class. Fix that by defining them out of class.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129592

Files:
  llvm/include/llvm/Support/JSON.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129592.444076.patch
Type: text/x-patch
Size: 4762 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220712/36cf04e9/attachment.bin>


More information about the llvm-commits mailing list