diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-12-07 05:52:12 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-12-07 05:52:12 +0000 |
commit | 29f2787b6da552018a7716f18f5bd8f67bd6edb5 (patch) | |
tree | 59d30fc036a92926c58876d497b1ece1e63ce5b4 /lib/Analysis/FormatString.cpp | |
parent | 68478b0cc1ff03c0d13ceca6800c5becf08791e7 (diff) |
Make changes to SDiagsWriter to make it work in combination with the ARC migrator:
-Allow it to be used with multiple BeginSourceFile/EndSourceFile calls; for this introduce
a "finish" callback method in the DiagnosticConsumer. SDiagsWriter finishes up the serialization
file inside this method.
-Make it independent of any particular DiagnosticsEngine; make it use the SourceManager of the
Diagnostic object.
-Ignore null source ranges.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/FormatString.cpp')
0 files changed, 0 insertions, 0 deletions