diff options
-rw-r--r-- | tools/CIndex/CIndex.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/CIndex/CIndex.cpp b/tools/CIndex/CIndex.cpp index 9b2355dc0a..3cb15f640d 100644 --- a/tools/CIndex/CIndex.cpp +++ b/tools/CIndex/CIndex.cpp @@ -1272,7 +1272,9 @@ CXCodeCompleteResults *clang_codeComplete(CXIndex CIdx, argv.push_back(code_complete_at.c_str()); argv.push_back("-Xclang"); argv.push_back("-no-code-completion-debug-printer"); - + argv.push_back("-Xclang"); + argv.push_back("-code-completion-macros"); + std::vector<std::string> RemapArgs; for (unsigned i = 0; i != num_unsaved_files; ++i) { char tmpFile[L_tmpnam]; |