diff options
| author | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-02-05 02:13:05 +0000 |
|---|---|---|
| committer | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-02-05 02:13:05 +0000 |
| commit | 2c1dd2716a07a173773ac2ba04b5f2da73a1fc6c (patch) | |
| tree | 261bc83804f76189617bffb8aa419bba7f9232ac /clang/lib/Frontend/SerializedDiagnosticPrinter.cpp | |
| parent | e27789991d575c2e6662961f2a57b2f5c3e8a9e3 (diff) | |
| download | bcm5719-llvm-2c1dd2716a07a173773ac2ba04b5f2da73a1fc6c.tar.gz bcm5719-llvm-2c1dd2716a07a173773ac2ba04b5f2da73a1fc6c.zip | |
Basic: import SmallString<> into clang namespace
(I was going to fix the TODO about DenseMap too, but
that would break self-host right now. See PR11922.)
llvm-svn: 149799
Diffstat (limited to 'clang/lib/Frontend/SerializedDiagnosticPrinter.cpp')
| -rw-r--r-- | clang/lib/Frontend/SerializedDiagnosticPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp b/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp index bdf0b550c75..649f294bf87 100644 --- a/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp +++ b/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp @@ -179,7 +179,7 @@ private: RecordData Record; /// \brief A text buffer for rendering diagnostic text. - llvm::SmallString<256> diagBuf; + SmallString<256> diagBuf; /// \brief The collection of diagnostic categories used. llvm::DenseSet<unsigned> Categories; @@ -584,7 +584,7 @@ void SDiagsRenderer::emitNote(SourceLocation Loc, StringRef Message) { void SDiagsRenderer::emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc) { // Generate a note indicating the include location. - llvm::SmallString<200> MessageStorage; + SmallString<200> MessageStorage; llvm::raw_svector_ostream Message(MessageStorage); Message << "in file included from " << PLoc.getFilename() << ':' << PLoc.getLine() << ":"; |

