From 54b1677d23a3a5ab8029540cb29021b0e6c6b64b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 23 Jul 2011 17:14:25 +0000 Subject: Move ArrayRef to LLVM.h and eliminate now-redundant qualifiers, patch by Jon Mulder! llvm-svn: 135855 --- clang/lib/ARCMigrate/Internals.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'clang/lib/ARCMigrate/Internals.h') diff --git a/clang/lib/ARCMigrate/Internals.h b/clang/lib/ARCMigrate/Internals.h index a9ab093f3a9..61eeccb3a74 100644 --- a/clang/lib/ARCMigrate/Internals.h +++ b/clang/lib/ARCMigrate/Internals.h @@ -26,8 +26,8 @@ class CapturedDiagList { public: void push_back(const StoredDiagnostic &diag) { List.push_back(diag); } - bool clearDiagnostic(llvm::ArrayRef IDs, SourceRange range); - bool hasDiagnostic(llvm::ArrayRef IDs, SourceRange range) const; + bool clearDiagnostic(ArrayRef IDs, SourceRange range); + bool hasDiagnostic(ArrayRef IDs, SourceRange range) const; void reportDiagnostics(Diagnostic &diags) const; @@ -39,7 +39,7 @@ public: }; void writeARCDiagsToPlist(const std::string &outPath, - llvm::ArrayRef diags, + ArrayRef diags, SourceManager &SM, const LangOptions &LangOpts); class TransformActions { @@ -69,9 +69,9 @@ public: void increaseIndentation(SourceRange range, SourceLocation parentIndent); - bool clearDiagnostic(llvm::ArrayRef IDs, SourceRange range); + bool clearDiagnostic(ArrayRef IDs, SourceRange range); bool clearAllDiagnostics(SourceRange range) { - return clearDiagnostic(llvm::ArrayRef(), range); + return clearDiagnostic(ArrayRef(), range); } bool clearDiagnostic(unsigned ID1, unsigned ID2, SourceRange range) { unsigned IDs[] = { ID1, ID2 }; -- cgit v1.2.3