[JSONExporter] Print instead of ignoring parser error.
commita850dd88e5912a27fbb302cd0a5a041f05f8e179
authorMichael Kruse <llvm@meinersbur.de>
Thu, 2 Aug 2018 00:11:14 +0000 (2 00:11 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Thu, 2 Aug 2018 00:11:14 +0000 (2 00:11 +0000)
treeac5c74d97df4a37959396fa4540bacff0a1fc828
parent9445846499b5df73aca81aa6c29a88783cf878c3
[JSONExporter] Print instead of ignoring parser error.

Silence the warning

    warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]

JSONExporter is a developer tool, there is no mechanism for error
handling. Print the parser error and abort with a fatal error.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@338659 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Exchange/JSONExporter.cpp