aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <kyrtzidis@apple.com>2022-07-15 16:08:48 -0700
committerArgyrios Kyrtzidis <kyrtzidis@apple.com>2022-07-15 16:10:36 -0700
commit46a69897364354c9ffcfb1f5f2341e675898d116 (patch)
tree63993bd1fc3330f5002ae4fa38b68e4c9a8344de /clang/unittests
parent42129b66d732189401853195be5c80981a13aae9 (diff)
downloadllvm-46a69897364354c9ffcfb1f5f2341e675898d116.zip
llvm-46a69897364354c9ffcfb1f5f2341e675898d116.tar.gz
llvm-46a69897364354c9ffcfb1f5f2341e675898d116.tar.bz2
[unittests/Tooling/DependencyScannerTest.cpp] Use `using namespace` instead of wrapping the `.cpp` file contents in namespaces, NFC
This makes the file consistent with the coding style of the rest of LLVM.
Diffstat (limited to 'clang/unittests')
-rw-r--r--clang/unittests/Tooling/DependencyScannerTest.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/clang/unittests/Tooling/DependencyScannerTest.cpp b/clang/unittests/Tooling/DependencyScannerTest.cpp
index a9d6e6e..6480cea 100644
--- a/clang/unittests/Tooling/DependencyScannerTest.cpp
+++ b/clang/unittests/Tooling/DependencyScannerTest.cpp
@@ -25,8 +25,8 @@
#include <algorithm>
#include <string>
-namespace clang {
-namespace tooling {
+using namespace clang;
+using namespace tooling;
namespace {
@@ -203,6 +203,3 @@ TEST(DependencyScanner, ScanDepsReuseFilemanagerHasInclude) {
EXPECT_EQ(convert_to_slash(Deps[4]), "/root/header.h");
EXPECT_EQ(convert_to_slash(Deps[5]), "/root/symlink.h");
}
-
-} // end namespace tooling
-} // end namespace clang