aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/SerializedDiagnosticPrinter.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2012-02-29 20:31:23 +0000
committerDaniel Dunbar <daniel@zuster.org>2012-02-29 20:31:23 +0000
commit8d6ff02cb78c67c615125782967b44d1b37e5815 (patch)
tree1ac1725573455700c74eeb2ea00838a9e026a7a1 /lib/Frontend/SerializedDiagnosticPrinter.cpp
parent75a96d02ded688e34d5e8068abf0afb876ed870b (diff)
Serialization: Switch over to using the native SmallVector based BitstreamWriter
ctor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151752 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/SerializedDiagnosticPrinter.cpp')
-rw-r--r--lib/Frontend/SerializedDiagnosticPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/SerializedDiagnosticPrinter.cpp b/lib/Frontend/SerializedDiagnosticPrinter.cpp
index 7a8edf7f5c..7bf8742a80 100644
--- a/lib/Frontend/SerializedDiagnosticPrinter.cpp
+++ b/lib/Frontend/SerializedDiagnosticPrinter.cpp
@@ -159,7 +159,7 @@ private:
const DiagnosticOptions &DiagOpts;
/// \brief The byte buffer for the serialized content.
- std::vector<unsigned char> Buffer;
+ SmallString<1024> Buffer;
/// \brief The BitStreamWriter for the serialized diagnostics.
llvm::BitstreamWriter Stream;