[libclang] Put the CIndexer class in the clang namespace instead of having
it at global namespace.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153561 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/libclang/CIndexer.h b/tools/libclang/CIndexer.h
index 45d0831..de7cc88 100644
--- a/tools/libclang/CIndexer.h
+++ b/tools/libclang/CIndexer.h
@@ -24,6 +24,8 @@
class CrashRecoveryContext;
}
+namespace clang {
+
class CIndexer {
bool OnlyLocalDecls;
bool DisplayDiagnostics;
@@ -52,7 +54,6 @@
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.