diff options
author | Chris Lattner <sabre@nondot.org> | 2011-07-23 17:14:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-07-23 17:14:25 +0000 |
commit | 2d3ba4f5a923a90c3fc290ddfba5e36c2d0a9b46 (patch) | |
tree | 3b65b8898ac2f33b825765d8519f7329d2b556ec /lib/ARCMigrate/Internals.h | |
parent | 1c3199afb8aeab5f4dfcef60999d13d9c6877a67 (diff) |
Move ArrayRef to LLVM.h and eliminate now-redundant qualifiers, patch by Jon Mulder!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ARCMigrate/Internals.h')
-rw-r--r-- | lib/ARCMigrate/Internals.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/ARCMigrate/Internals.h b/lib/ARCMigrate/Internals.h index a9ab093f3a..61eeccb3a7 100644 --- a/lib/ARCMigrate/Internals.h +++ b/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<unsigned> IDs, SourceRange range); - bool hasDiagnostic(llvm::ArrayRef<unsigned> IDs, SourceRange range) const; + bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); + bool hasDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) const; void reportDiagnostics(Diagnostic &diags) const; @@ -39,7 +39,7 @@ public: }; void writeARCDiagsToPlist(const std::string &outPath, - llvm::ArrayRef<StoredDiagnostic> diags, + ArrayRef<StoredDiagnostic> diags, SourceManager &SM, const LangOptions &LangOpts); class TransformActions { @@ -69,9 +69,9 @@ public: void increaseIndentation(SourceRange range, SourceLocation parentIndent); - bool clearDiagnostic(llvm::ArrayRef<unsigned> IDs, SourceRange range); + bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); bool clearAllDiagnostics(SourceRange range) { - return clearDiagnostic(llvm::ArrayRef<unsigned>(), range); + return clearDiagnostic(ArrayRef<unsigned>(), range); } bool clearDiagnostic(unsigned ID1, unsigned ID2, SourceRange range) { unsigned IDs[] = { ID1, ID2 }; |