diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-03-28 02:18:02 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-03-28 02:18:02 +0000 |
commit | bbca564eec4eb841848a40014f7ddc9e5807125e (patch) | |
tree | 8879fa00a0fde7c3d0d3a3bc73edf0cf0fbe8ce7 /tools | |
parent | 142bcb59c012504360881e8f744d9d4a8d92c2ac (diff) |
[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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libclang/CIndexer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/libclang/CIndexer.h b/tools/libclang/CIndexer.h index 45d0831b88..de7cc88a2c 100644 --- a/tools/libclang/CIndexer.h +++ b/tools/libclang/CIndexer.h @@ -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. |