This patch makes inline remarks conform to the convention.
New behavior:
% clang -O2 -Rpass=inline -Rpass-missed=inline -S a.c a.c:4:25: remark: 'foo' inlined into 'bar' with (cost=-30, threshold=337) at callsite bar:0:25; [-Rpass=inline] int bar(int a) { return foo(a); } ^
The inline replay file is designed to have the same format with the optimization remarks file so that you can just replay with a remark output. Tweaking the format of remark output changes this behavior. Can you also change the replay part as well?