]> granicus.if.org Git - clang/commitdiff
[libclang] Put the CIndexer class in the clang namespace instead of having
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 28 Mar 2012 02:18:02 +0000 (02:18 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 28 Mar 2012 02:18:02 +0000 (02:18 +0000)
it at global namespace.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153561 91177308-0d34-0410-b5e6-96231b3b80d8

tools/libclang/CIndexer.h

index 45d0831b8869f2bf48022d0b4a02072bfb3b9294..de7cc88a2c6c93fc0417250f2fa0a0807ba91512 100644 (file)
@@ -24,6 +24,8 @@ namespace llvm {
   class CrashRecoveryContext;
 }
 
+namespace clang {
+
 class CIndexer {
   bool OnlyLocalDecls;
   bool DisplayDiagnostics;
@@ -52,7 +54,6 @@ public:
   void setWorkingDirectory(const std::string &Dir) { WorkingDir = Dir; }
 };
 
-namespace clang {
   /**
    * \brief Given a set of "unsaved" files, create temporary files and 
    * construct the clang -cc1 argument list needed to perform the remapping.