Turn on code-completion for macros within CIndex
llvm-svn: 92500
This commit is contained in:
parent
a7c8e58d95
commit
51af7f628c
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue