summaryrefslogtreecommitdiffstats
path: root/clang/lib/ARCMigrate/Internals.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-07-23 17:14:25 +0000
committerChris Lattner <sabre@nondot.org>2011-07-23 17:14:25 +0000
commit54b1677d23a3a5ab8029540cb29021b0e6c6b64b (patch)
tree02d71be946fa2199d5a86ec3d5553445356ee354 /clang/lib/ARCMigrate/Internals.h
parent7e6ca972c98956e5d438ad3ff840006fd650c71a (diff)
downloadbcm5719-llvm-54b1677d23a3a5ab8029540cb29021b0e6c6b64b.tar.gz
bcm5719-llvm-54b1677d23a3a5ab8029540cb29021b0e6c6b64b.zip
Move ArrayRef to LLVM.h and eliminate now-redundant qualifiers, patch by Jon Mulder!
llvm-svn: 135855
Diffstat (limited to 'clang/lib/ARCMigrate/Internals.h')
-rw-r--r--clang/lib/ARCMigrate/Internals.h10
1 files changed, 5 insertions, 5 deletions
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<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 };
OpenPOWER on IntegriCloud