1. 08 Jul, 2013 1 commit
  2. 02 Jul, 2013 1 commit
  3. 17 Jun, 2013 1 commit
  4. 11 Jun, 2013 2 commits
    • Erik Verbruggen's avatar
      C++: Fix preprocessor blocked macro bug. · 271c3f45
      Erik Verbruggen authored
      
      
      By lexing the first token after a macro call (meaning: the token after
      the closing parenthesis (which was passed to handleFunctionLikeMacro
      which in turn pushed it back into the token buffer)), a token buffer
      might be popped, which unblocks the macro that generated the actual
      param pack. The effect was that if this happens in the expansion of a
      recursive macro (with parameters!), the preprocessor ended up in an
      infinite loop.
      
      Task-number: QTCREATORBUG-9015
      Task-number: QTCREATORBUG-9447
      
      Change-Id: I0d83c59188ec15c4a948970e9fa944a17d765475
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      271c3f45
    • Nikolai Kosjar's avatar
      CppEditor: Improve finding position for new includes · f3186690
      Nikolai Kosjar authored
      
      
      ...by detecting include groups (separated by new lines, include types
      and same dir prefix).
      
      Task-number: QTCREATORBUG-9317
      Change-Id: I73e80fdc715104901cb2d4f5b15b4cab5d04d305
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      f3186690
  5. 06 Jun, 2013 1 commit
  6. 04 Jun, 2013 1 commit
  7. 03 Jun, 2013 1 commit
  8. 30 May, 2013 1 commit
    • Erik Verbruggen's avatar
      C++: do not strip trailing newlines in the preprocessor output. · f2631ad0
      Erik Verbruggen authored
      
      
      Doing so resulted in an incorrect position for the EOF token when the
      preprocessed output would be parsed. That in turn leads to incorrect
      insertion positions for refactoring actions.
      
      This is especially true when a file contains only preprocessor
      directives: the EOF token would point to line 1 column 1, which is
      usually not the place where code should be inserted.
      
      Change-Id: I7d359aa7a6c04bc52c8b873fd49ad6afc3a77319
      Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
      f2631ad0
  9. 24 May, 2013 3 commits
  10. 15 May, 2013 1 commit
  11. 03 May, 2013 1 commit
  12. 02 May, 2013 1 commit
  13. 29 Apr, 2013 1 commit
    • Francois Ferrand's avatar
      C++: fix handling of empty va_args macro arguments. · 4d18710f
      Francois Ferrand authored
      
      
      Preprocessor did not correctly handle when variadic macro arguments were not
      provided at all, if there were other arguments: macro was not expanded
      in case only the non variadic arguments were given.
      
       #define MACRO(...)       used to work fine for 0 or more arguments.
       #define MACRO(ARG0, ...) used to work only for 2 or more arguments, now fixed.
      
      Change-Id: I64e9199ceccae05618a49931c2adad8e4f9471ba
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      4d18710f
  14. 19 Apr, 2013 1 commit
  15. 18 Apr, 2013 2 commits
  16. 17 Apr, 2013 1 commit
  17. 16 Apr, 2013 1 commit
  18. 10 Apr, 2013 2 commits
  19. 09 Apr, 2013 4 commits
  20. 03 Apr, 2013 2 commits
  21. 02 Apr, 2013 3 commits
  22. 22 Mar, 2013 1 commit
  23. 12 Mar, 2013 3 commits
  24. 04 Mar, 2013 2 commits
  25. 19 Feb, 2013 1 commit
  26. 30 Jan, 2013 1 commit