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
diff --git a/tools/arcmt-test/arcmt-test.cpp b/tools/arcmt-test/arcmt-test.cpp
index edef415..7477f94 100644
--- a/tools/arcmt-test/arcmt-test.cpp
+++ b/tools/arcmt-test/arcmt-test.cpp
@@ -104,7 +104,7 @@
} // anonymous namespace
static bool checkForMigration(StringRef resourcesPath,
- llvm::ArrayRef<const char *> Args) {
+ ArrayRef<const char *> Args) {
DiagnosticClient *DiagClient =
new TextDiagnosticPrinter(llvm::errs(), DiagnosticOptions());
llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
@@ -146,7 +146,7 @@
}
static bool performTransformations(StringRef resourcesPath,
- llvm::ArrayRef<const char *> Args) {
+ ArrayRef<const char *> Args) {
// Check first.
if (checkForMigration(resourcesPath, Args))
return true;
@@ -215,7 +215,7 @@
return file1->getBuffer() == file2->getBuffer();
}
-static bool verifyTransformedFiles(llvm::ArrayRef<std::string> resultFiles) {
+static bool verifyTransformedFiles(ArrayRef<std::string> resultFiles) {
using namespace llvm;
assert(!resultFiles.empty());
@@ -364,7 +364,7 @@
return 1;
}
- llvm::ArrayRef<const char*> Args(argv+optargc+1, argc-optargc-1);
+ ArrayRef<const char*> Args(argv+optargc+1, argc-optargc-1);
if (CheckOnly)
return checkForMigration(resourcesPath, Args);