diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-06-29 20:32:15 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-06-29 20:32:15 (GMT) |
commit | 3e9d9386950cc67d155a920cf8483c4d5bdcec3c (patch) | |
tree | 96383bcb228e96d52f42552cb4273a6eb2e323c6 /src/filedef.cpp | |
parent | 6b1543bbc7001cc67dbe55c7109c4c73fbb5f300 (diff) | |
download | Doxygen-3e9d9386950cc67d155a920cf8483c4d5bdcec3c.zip Doxygen-3e9d9386950cc67d155a920cf8483c4d5bdcec3c.tar.gz Doxygen-3e9d9386950cc67d155a920cf8483c4d5bdcec3c.tar.bz2 |
Fixed anothing compilation issue when use_libclang was not enabled
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r-- | src/filedef.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp index 18e5cef..08f022b 100644 --- a/src/filedef.cpp +++ b/src/filedef.cpp @@ -1212,8 +1212,7 @@ void FileDefImpl::writeSource(OutputList &ol,bool sameTu,QStrList &filesInSameTu (void)sameTu; (void)filesInSameTu; #if USE_LIBCLANG - static bool clangAssistedParsing = Config_getBool(CLANG_ASSISTED_PARSING); - if (clangAssistedParsing && + if (Doxygen::clangAssistedParsing && (getLanguage()==SrcLangExt_Cpp || getLanguage()==SrcLangExt_ObjC)) { ol.startCodeFragment(); @@ -1276,8 +1275,7 @@ void FileDefImpl::parseSource(bool sameTu,QStrList &filesInSameTu) (void)sameTu; (void)filesInSameTu; #if USE_LIBCLANG - static bool clangAssistedParsing = Config_getBool(CLANG_ASSISTED_PARSING); - if (clangAssistedParsing && + if (Doxygen::clangAssistedParsing && (getLanguage()==SrcLangExt_Cpp || getLanguage()==SrcLangExt_ObjC)) { if (!sameTu) |