diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libclang/CIndex.cpp | 6 | ||||
-rw-r--r-- | tools/libclang/CIndexDiagnostic.cpp | 2 | ||||
-rw-r--r-- | tools/libclang/CLog.h | 2 | ||||
-rw-r--r-- | tools/libclang/CXComment.cpp | 2 | ||||
-rw-r--r-- | tools/libclang/CXCursor.cpp | 2 | ||||
-rw-r--r-- | tools/libclang/SimpleFormatContext.h | 4 |
6 files changed, 9 insertions, 9 deletions
diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp index 02d5486d90..3237d22d78 100644 --- a/tools/libclang/CIndex.cpp +++ b/tools/libclang/CIndex.cpp @@ -2393,7 +2393,7 @@ bool CursorVisitor::Visit(Stmt *S) { } namespace { -typedef llvm::SmallVector<SourceRange, 4> RefNamePieces; +typedef SmallVector<SourceRange, 4> RefNamePieces; RefNamePieces buildPieces(unsigned NameFlags, bool IsMemberRefExpr, const DeclarationNameInfo &NI, const SourceRange &QLoc, @@ -4935,7 +4935,7 @@ class AnnotateTokensWorker { SourceRange CursorRange; unsigned BeforeChildrenTokenIdx; }; - llvm::SmallVector<PostChildrenInfo, 8> PostChildrenInfos; + SmallVector<PostChildrenInfo, 8> PostChildrenInfos; bool MoreTokens() const { return TokIdx < NumTokens; } unsigned NextToken() const { return TokIdx; } @@ -6391,7 +6391,7 @@ cxindex::Logger::~Logger() { static llvm::TimeRecord sBeginTR = llvm::TimeRecord::getCurrentTime(); - llvm::raw_ostream &OS = llvm::errs(); + raw_ostream &OS = llvm::errs(); OS << "[libclang:" << Name << ':'; // FIXME: Portability. diff --git a/tools/libclang/CIndexDiagnostic.cpp b/tools/libclang/CIndexDiagnostic.cpp index 3154480ae1..6b0a191a60 100644 --- a/tools/libclang/CIndexDiagnostic.cpp +++ b/tools/libclang/CIndexDiagnostic.cpp @@ -191,7 +191,7 @@ CXDiagnosticSetImpl *cxdiag::lazyCreateDiags(CXTranslationUnit TU, if (!TU->Diagnostics) { CXDiagnosticSetImpl *Set = new CXDiagnosticSetImpl(); TU->Diagnostics = Set; - llvm::IntrusiveRefCntPtr<DiagnosticOptions> DOpts = new DiagnosticOptions; + IntrusiveRefCntPtr<DiagnosticOptions> DOpts = new DiagnosticOptions; CXDiagnosticRenderer Renderer(AU->getASTContext().getLangOpts(), &*DOpts, Set); diff --git a/tools/libclang/CLog.h b/tools/libclang/CLog.h index 271bf4e284..c3dcb57793 100644 --- a/tools/libclang/CLog.h +++ b/tools/libclang/CLog.h @@ -38,7 +38,7 @@ typedef IntrusiveRefCntPtr<Logger> LogRef; class Logger : public RefCountedBase<Logger> { std::string Name; bool Trace; - llvm::SmallString<64> Msg; + SmallString<64> Msg; llvm::raw_svector_ostream LogOS; public: static const char *getEnvVar() { diff --git a/tools/libclang/CXComment.cpp b/tools/libclang/CXComment.cpp index d72403d87f..cf7a488d13 100644 --- a/tools/libclang/CXComment.cpp +++ b/tools/libclang/CXComment.cpp @@ -923,7 +923,7 @@ void CommentASTToXMLConverter::formatTextOfDeclaration( // Formatter specific code. // Form a unique in memory buffer name. - llvm::SmallString<128> filename; + SmallString<128> filename; filename += "xmldecl"; filename += llvm::utostr(FormatInMemoryUniqueId); filename += ".xd"; diff --git a/tools/libclang/CXCursor.cpp b/tools/libclang/CXCursor.cpp index 75e670e765..f4faab313b 100644 --- a/tools/libclang/CXCursor.cpp +++ b/tools/libclang/CXCursor.cpp @@ -1071,7 +1071,7 @@ CXCompletionString clang_getCursorCompletionString(CXCursor cursor) { namespace { struct OverridenCursorsPool { - typedef llvm::SmallVector<CXCursor, 2> CursorVec; + typedef SmallVector<CXCursor, 2> CursorVec; std::vector<CursorVec*> AllCursors; std::vector<CursorVec*> AvailableCursors; diff --git a/tools/libclang/SimpleFormatContext.h b/tools/libclang/SimpleFormatContext.h index ac48387553..016d0b67d4 100644 --- a/tools/libclang/SimpleFormatContext.h +++ b/tools/libclang/SimpleFormatContext.h @@ -63,8 +63,8 @@ public: return Result; } - llvm::IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; - llvm::IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics; + IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; + IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics; FileManager Files; SourceManager Sources; Rewriter Rewrite; |