summaryrefslogtreecommitdiffstats
path: root/src/clangparser.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-6/+6
| | | | | | | | | | | | | | | | | This commit changes the following in relation to string use - The implicit convert from 'QCString' to 'const char *' is removed - Strings parameters use 'const QCString &' as much as possible in favor over 'const char *' - 'if (s)' where s is a QCString has been replaced by 'if(!s.isEmpty())' - data() now always returns a valid C-string and not a 0-pointer. - when passing a string 's' to printf and related functions 'qPrint(s)' is used instead of 's.data()' - for empty string arguments 'QCString()' is used instead of '0' - The copy() operation has been removed - Where possible 'qstrcmp(a,b)==0' has been replaces by 'a==b' and 'qstrcmp(a,b)<0' has been replaced by 'a<b' - Parameters of string type that were default initialized with '= 0' are no initialized with '= QCString()'
* issue #8375: Lowercase search does not find non-ASCII uppercase pages and ↵Dimitri van Heesch2021-03-221-9/+6
| | | | vice versa
* Refactoring: some cleanup and removed text direction logicDimitri van Heesch2021-03-041-5/+4
|
* Refactoring: remove unused sortdict.hDimitri van Heesch2021-01-221-1/+0
|
* issue #8304: compilation failureDimitri van Heesch2021-01-041-3/+3
|
* Fixed compilation issue when use_libclang was disabledDimitri van Heesch2021-01-011-1/+1
|
* Renamed CLANG_INCLUDE_INPUT_PATHS to CLANG_ADD_INC_PATHSDimitri van Heesch2021-01-011-1/+1
| | | | The name is too long making the generated config file look ugly.
* Refactoring: modernise Doxygen::clangUsrMapDimitri van Heesch2021-01-011-10/+15
|
* Add a CLANG_INCLUDE_INPUT_PATHS option which can be used to control whetherBryce Adelstein Lelbach aka wash2020-12-311-4/+8
| | | | | the directory of every input file is added as an include when using Clang assisted parsing.
* Avoid unused variable 'g_docCrossReferenceMutex' warningDimitri van Heesch2020-12-201-1/+2
| | | | When building without libclang support
* Fix compiler error by making clangparser use TooltipManager::instance()Dimitri van Heesch2020-11-291-2/+1
|
* Refactoring: move addDocCrossReference to memberdef.cpp/.hDimitri van Heesch2020-11-281-1/+3
|
* Issue #8206: Incorrect XHTML resultsDimitri van Heesch2020-11-271-1/+1
| | | | | | | | | | | | Changes: - Change TooltipManager back into a singleton - Give the OutputList object a unique output id - Increment the id at each startFile() atomically - Pass the id to the HTML code generator - Store tooltips per output id. - Keep track of tooltips that are already written for a given id - for output formats other than HTML the output id is 0 and tooltips are not collected and written
* Refactoring: replacing dynamic_cast by static_cast to improve performanceDimitri van Heesch2020-11-131-1/+1
|
* Refactoring: Introduce immutable and mutable interfacesDimitri van Heesch2020-11-091-1/+1
| | | | | | Split Definition/ClassDef/NamespaceDef/MemberDef into a immutable and mutable part Aliases are immutable, other symbols are stored using an immutable interface but can be made mutable explicitly by dynamic casting.
* Refactoring: modernize TooltipManager class and source reference listsDimitri van Heesch2020-10-201-1/+2
| | | | | - Tooltips are now collected per file instead of globally - Source reference lists now use STL containers
* issue #8066: Doxygen crashes in ClangTUParserDimitri van Heesch2020-09-301-2/+3
|
* Minor tweaks to clangparser.cppDimitri van Heesch2020-08-151-8/+11
|
* Compilation fix for clangparser.cpp when -Duse_libclang=NODimitri van Heesch2020-08-051-1/+1
|
* New option allowing processing using multiple threadsDimitri van Heesch2020-08-051-6/+0
| | | | | | | | | | | | | | | | | | Introduces new option NUM_PROC_THREADS. It specifies the number threads doxygen is allowed to use during processing. When set to 0 doxygen will based this on the number of cores available in the system. You can set it explicitly to a value larger than 0 to get more control over the balance between CPU load and processing speed. At this moment only the input processing can be done using multiple threads. I plan to extend this with more parallel processing in the future. Since this is still an experimental feature the default is set to 1, which efficively disables parallel processing. Please report any issues you encounter that appear when changing the default. Note that generating dot graphs in parallel is still controlled separately by the DOT_NUM_THREADS setting.
* Added missing stub code when use_libclang is disabledDimitri van Heesch2020-07-161-10/+10
|
* Refactor: Modernize clang parser and make it run with multiple threadsDimitri van Heesch2020-07-161-297/+238
|
* Refactor: modernize configuration valuesDimitri van Heesch2020-06-041-10/+10
|
* Refactoring: migrate type of Doxygen::inputPaths to std::setDimitri van Heesch2020-04-291-4/+7
|
* Fixed shadowing issue in getFortranDefs and other shadowing casesDimitri van Heesch2020-04-091-4/+5
|
* Replaced MemberNameSDict by MemberNameLinkedMap based on LinkedMapDimitri van Heesch2020-04-081-5/+3
|
* Replaced FileNameDict/FileNameList by FileNameLinkedMapDimitri van Heesch2020-04-061-34/+36
|
* Spelling corrections for src directoryalbert-github2019-11-051-1/+1
| | | | | | | | Spelling corrections as found by codespell and in #561. Some reported problems were already fixed, others are fixed here, with some exceptions (a,o.): - "referenceby" in defgen.cpp as this is in the output and I cannot oversee the consequences (looks like none, but ...) - "HANGEUL_CHARSET" left as is as in some MS documentation is written: 'HANGUL_CHARSET: Also spelled "Hangeul". Specifies the Hangul Korean character set.' (https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wmf/0d0b32ac-a836-4bd2-a112-b6000a1b4fc9).
* issue #6946 Compilation error (clangparser.cpp)albert-github2019-04-271-1/+1
| | | | | corrected clangparser conform other source code in respect to casting. Corrected doxyapp and doxyparse make scripts for usage with clang parser.
* Double id for tooltips in XHTML Possible.albert-github2019-01-181-2/+0
| | | | The tooltips (XHTML) should not be displayed per code fragment but for the entire (output) file as otherwise tooltips might be added multiple times resulting in double IDs.
* Fix type and length of clang compilation database optionDimitri van Heesch2018-12-271-63/+72
|
* Fixing coverity messagesalbert-github2018-09-131-0/+1
| | | | Note: especially latexdocvisitor (dead code that should not be dead code).
* Enable possibility of CLANG for Cygwinalbert-github2018-06-301-13/+13
| | | | | - During compilation there were some problems with strdup (POSIX), replaced by qstrdup - During compiling / linking there were some problems with killpg which was recognized, added standard definition.
* Include header for CompilationDatabaseIsaac Hier2018-05-231-0/+1
|
* make use of clang compilation databaseDoug Johnston2017-04-061-1/+34
| | | | See: https://clang.llvm.org/docs/JSONCompilationDatabase.html
* Changed configuration mechanism to directly access options in order to ↵Dimitri van Heesch2016-01-171-8/+8
| | | | improve performance
* Added SOURCE_TOOLTIPS option for advanced tooltip support while source browsingDimitri van Heesch2013-07-021-19/+17
|
* Release-1.8.4Dimitri van Heesch2013-05-191-26/+42
|
* Release-1.8.3.1-20130512Dimitri van Heesch2013-05-121-62/+253
|
* Release-1.8.3.1-20130402Dimitri van Heesch2013-04-021-1/+18
|
* Release-1.8.3.1-20130324Dimitri van Heesch2013-03-241-0/+720