]> granicus.if.org Git - llvm/commit
[Remarks] Support parsing remark metadata in the YAML remark parser
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Fri, 26 Jul 2019 20:11:53 +0000 (20:11 +0000)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Fri, 26 Jul 2019 20:11:53 +0000 (20:11 +0000)
commitaae2cef17602a143ca2f42f0f7cda991ec585923
treed55e2290de6d3db22eed87f943a908f145bdd1f6
parent1f2f345bb43bfa0cfbd2490910061bb53397f227
[Remarks] Support parsing remark metadata in the YAML remark parser

This adds support to the yaml remark parser to be able to parse remarks
directly from the metadata.

This supports parsing separate metadata and following the external file
with the associated metadata, and also a standalone file containing
metadata + remarks all together.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367148 91177308-0d34-0410-b5e6-96231b3b80d8
docs/Remarks.rst
include/llvm/Remarks/RemarkParser.h
lib/Remarks/RemarkParser.cpp
lib/Remarks/YAMLRemarkParser.cpp
lib/Remarks/YAMLRemarkParser.h
unittests/Remarks/YAMLRemarksParsingTest.cpp