From 0e62c1cc0b47c787cf481c43d9f71b3df92581ad Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 23 Jul 2011 10:55:15 +0000 Subject: remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports them into the clang namespace. llvm-svn: 135852 --- clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp') diff --git a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp index 42b648aa..fa34334 100644 --- a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp +++ b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp @@ -39,7 +39,7 @@ clang::createInvocationFromCommandLine(llvm::ArrayRef ArgList, ArgList.begin()); } - llvm::SmallVector Args; + SmallVector Args; Args.push_back(""); // FIXME: Remove dummy argument. Args.insert(Args.end(), ArgList.begin(), ArgList.end()); @@ -74,7 +74,7 @@ clang::createInvocationFromCommandLine(llvm::ArrayRef ArgList, } const driver::Command *Cmd = cast(*Jobs.begin()); - if (llvm::StringRef(Cmd->getCreator().getName()) != "clang") { + if (StringRef(Cmd->getCreator().getName()) != "clang") { Diags->Report(diag::err_fe_expected_clang_command); return 0; } -- cgit v1.1