summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/ARCMigrate/PlistReporter.cpp3
-rw-r--r--clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp3
2 files changed, 2 insertions, 4 deletions
diff --git a/clang/lib/ARCMigrate/PlistReporter.cpp b/clang/lib/ARCMigrate/PlistReporter.cpp
index 09cb50512c2..6b34ef0c2b9 100644
--- a/clang/lib/ARCMigrate/PlistReporter.cpp
+++ b/clang/lib/ARCMigrate/PlistReporter.cpp
@@ -63,8 +63,7 @@ void arcmt::writeARCDiagsToPlist(const std::string &outPath,
return;
}
- // Write the plist header.
- o << PlistHeader;
+ EmitPlistHeader(o);
// Write the root object: a <dict> containing...
// - "files", an <array> mapping from FIDs to file names
diff --git a/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp b/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
index ff2735db26d..ba3ad2ef16c 100644
--- a/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
+++ b/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
@@ -345,8 +345,7 @@ void PlistDiagnostics::FlushDiagnosticsImpl(
return;
}
- // Write the plist header.
- o << PlistHeader;
+ EmitPlistHeader(o);
// Write the root object: a <dict> containing...
// - "clang_version", the string representation of clang version
OpenPOWER on IntegriCloud