[cfe-commits] r153561 - /cfe/trunk/tools/libclang/CIndexer.h
Argyrios Kyrtzidis
akyrtzi at gmail.com
Tue Mar 27 19:18:02 PDT 2012
Author: akirtzidis
Date: Tue Mar 27 21:18:02 2012
New Revision: 153561
URL: http://llvm.org/viewvc/llvm-project?rev=153561&view=rev
Log:
[libclang] Put the CIndexer class in the clang namespace instead of having
it at global namespace.
Modified:
cfe/trunk/tools/libclang/CIndexer.h
Modified: cfe/trunk/tools/libclang/CIndexer.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CIndexer.h?rev=153561&r1=153560&r2=153561&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CIndexer.h (original)
+++ cfe/trunk/tools/libclang/CIndexer.h Tue Mar 27 21:18:02 2012
@@ -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.
More information about the cfe-commits
mailing list