[clang-tools-extra] r319579 - [clangd] Define constants in the right namespace. NFC

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 1 12:03:19 PST 2017


Author: sammccall
Date: Fri Dec  1 12:03:19 2017
New Revision: 319579

URL: http://llvm.org/viewvc/llvm-project?rev=319579&view=rev
Log:
[clangd] Define constants in the right namespace. NFC

Modified:
    clang-tools-extra/trunk/clangd/FuzzyMatch.cpp

Modified: clang-tools-extra/trunk/clangd/FuzzyMatch.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/FuzzyMatch.cpp?rev=319579&r1=319578&r2=319579&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/FuzzyMatch.cpp (original)
+++ clang-tools-extra/trunk/clangd/FuzzyMatch.cpp Fri Dec  1 12:03:19 2017
@@ -58,8 +58,9 @@
 #include "llvm/ADT/Optional.h"
 #include "llvm/Support/Format.h"
 
+namespace clang {
+namespace clangd {
 using namespace llvm;
-using namespace clang::clangd;
 
 const int FuzzyMatcher::MaxPat;
 const int FuzzyMatcher::MaxWord;
@@ -371,3 +372,6 @@ llvm::SmallString<256> FuzzyMatcher::dum
 
   return Result;
 }
+
+} // namespace clangd
+} // namespace clang




More information about the cfe-commits mailing list