diff options
Diffstat (limited to 'clang/tools/libclang/Indexing.cpp')
-rw-r--r-- | clang/tools/libclang/Indexing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/libclang/Indexing.cpp b/clang/tools/libclang/Indexing.cpp index 1eb3da21b46..4540f9731d0 100644 --- a/clang/tools/libclang/Indexing.cpp +++ b/clang/tools/libclang/Indexing.cpp @@ -333,7 +333,7 @@ static void clang_indexSourceFile_Impl(void *UserData) { // (often very broken) source code, where spell-checking can have a // significant negative impact on performance (particularly when // precompiled headers are involved), we disable it. - CInvok->getLangOpts().SpellChecking = false; + CInvok->getLangOpts()->SpellChecking = false; if (!requestedToGetTU) CInvok->getPreprocessorOpts().DetailedRecord = false; |