diff options
Diffstat (limited to 'scripts/clangCompleteAt.sh')
-rwxr-xr-x | scripts/clangCompleteAt.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/clangCompleteAt.sh b/scripts/clangCompleteAt.sh index e80fbd623a4..18f225a9207 100755 --- a/scripts/clangCompleteAt.sh +++ b/scripts/clangCompleteAt.sh @@ -94,7 +94,7 @@ runCodeCompletion() if [ -n "${CINDEXTEST_EXEC}" ]; then command="${CINDEXTEST_EXEC} -code-completion-at=${FILE}:${LINE}:${COLUMN} ${FILE}" else - command="${CLANG_EXEC} -cc1 -code-completion-at ${FILE}:${LINE}:${COLUMN} ${FILE}" + command="${CLANG_EXEC} -fsyntax-only -Xclang -code-completion-at -Xclang ${FILE}:${LINE}:${COLUMN} ${FILE}" fi echo "Command: $command" eval $command |