[llvm] Fix forward declaration in Support/JSON.h
authorserge-sans-paille <sguelton@redhat.com>
Tue, 12 Jul 2022 20:57:16 +0000 (22:57 +0200)
committerserge-sans-paille <sguelton@redhat.com>
Tue, 19 Jul 2022 07:07:29 +0000 (09:07 +0200)
commita2ac383b44172ec47e4086d7572597ab251a4793
treea89fcb2391971eca6208fdea866a56433d2e811e
parentaf09127c94e56999f056c9f7590e5fd40b534286
[llvm] Fix forward declaration in Support/JSON.h

Some 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.

Fix #55780
llvm/include/llvm/Support/JSON.h