1. 17 Dec, 2014 1 commit
  2. 19 Nov, 2014 1 commit
    • Nikolai Kosjar's avatar
      C++: Fix highlighting after "invalid code" · beac7b95
      Nikolai Kosjar authored
      For the semantic info document we do not expand function like macros and
      because of that certain macro invocations lead to invalid code that we
      need to handle, e.g.:
      
      	Q_GLOBAL_STATIC(CppTools::SymbolFinder, symbolFinder)
      	class Foo {};
      
      This change makes parsing Foo in the semantic info document successfully
      again, which affects highlighting of that class.
      
      Change-Id: I389265ac64d3f0b8b8f406d38fa58d78820b14ba
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@theqtcompany.com>
      beac7b95
  3. 12 Nov, 2014 1 commit
  4. 15 Oct, 2014 1 commit
  5. 09 Oct, 2014 2 commits
  6. 02 Oct, 2014 1 commit
  7. 19 Sep, 2014 1 commit
  8. 28 Aug, 2014 1 commit
  9. 23 May, 2014 1 commit
  10. 15 May, 2014 1 commit
  11. 08 Jan, 2014 1 commit
  12. 01 Oct, 2013 1 commit
  13. 11 Sep, 2013 1 commit
  14. 22 Aug, 2013 1 commit
  15. 11 Jun, 2013 1 commit
  16. 04 Jun, 2013 1 commit
  17. 16 Apr, 2013 1 commit
  18. 03 Apr, 2013 1 commit
  19. 21 Feb, 2013 1 commit
  20. 19 Feb, 2013 1 commit
  21. 29 Jan, 2013 1 commit
  22. 18 Jan, 2013 1 commit
    • Erik Verbruggen's avatar
      C++: add include-guard tracking. · dada2614
      Erik Verbruggen authored
      Track the typical #ifndef/#define/#endif usage in header files to see if
      the macro is an include guard. If so, store it in the Document. No
      behavioural change, just recording the name.
      
      This can be used in the future to track if a file needs to be re-parsed
      when a macro changes: if it was used in the file, and not defined in it
      nor being the include-guard, a file should be re-preprocessed and
      re-parsed.
      
      It can also be used to check if two files have the same include guard.
      
      Change-Id: I2715f529997a7b24a11bdbc6150652e2669f1a46
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      dada2614
  23. 15 Oct, 2012 1 commit
  24. 05 Oct, 2012 1 commit
  25. 23 Jul, 2012 1 commit
  26. 19 Jul, 2012 1 commit
  27. 05 Jun, 2012 1 commit
    • Francois Ferrand's avatar
      CppHighlighter: highlight all functions/methods. · 809611f3
      Francois Ferrand authored
      - Highlight all function/methods (not just virtual methods).
      - Highlight as a function even if number of arguments does not match. In
        that case, add a diagnostic message to indicate there are too many/too
        few arguments.
      - Fix highlighting of parameters in function declarations.
        These used to be handled indiferently, and they could be mistaken for
        type or field references.
      - Properly highlight template method calls.
      
      Change-Id: I6e61c9ee47763db95c62314f9cc1c4d398df38b3
      Reviewed-by: default avatarLeandro Melo <leandro.melo@nokia.com>
      809611f3
  28. 29 Mar, 2012 1 commit
    • Erik Verbruggen's avatar
      [C++] Rewrite of the preprocessor. · 60db5736
      Erik Verbruggen authored
      This rewrite fixes a couple of issues with the pre-processor. It now
      supports:
      - macros in macro bodies
      - stringification of parameters [cpp.stringize]
      - the concatenation operator [cpp.concat]
      - #include MACRO_HERE
      - defined() inside macro bodies used in pp-conditions.
      
      Change-Id: Ifdb78041fb6afadf44f939a4bd66ce2832b8601f
      Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
      60db5736
  29. 15 Feb, 2012 1 commit
  30. 26 Jan, 2012 1 commit
  31. 23 Jan, 2012 1 commit
    • Leandro Melo's avatar
      C++: Improve file accuracy when finding symbols · 466ea484
      Leandro Melo authored
      This patch introduces a priority-based mechanism when searching for certains
      symbols in the snapshot. The priority corresponds to how similar the file path
      from the "reference" symbol is to the file path from the "candidate" symbol.
      This solves a variety of issues when matching "equivalent" symbols but that
      are in another file/project, such as when following a function declaration,
      a forward class declaration, or adding a definition through a quickfix.
      
      There's now a symbol finder which will compute the "best" search order and cache
      the most recent results. A consequence is that following symbols in some cases
      is slower, but not apparently significatly.
      
      Note: The "find" functions were moved from the Snapshot to the new SymbolFinder
      class.
      
      Task-number: QTCREATORBUG-6697
      Task-number: QTCREATORBUG-6792
      
      Change-Id: Ia518f014275fec1f4d0cb3224bd4e06a9df6d557
      Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
      466ea484
  32. 13 Jan, 2012 1 commit
  33. 03 Nov, 2011 1 commit
  34. 08 Sep, 2011 1 commit
  35. 31 Aug, 2011 2 commits
  36. 25 Aug, 2011 1 commit
  37. 24 Aug, 2011 1 commit
  38. 16 Aug, 2011 1 commit