Skip to content
Snippets Groups Projects
  1. Jun 19, 2012
    • Leandro Melo's avatar
      Revert "C++: Re-enable macro definition line test" · 9daa3400
      Leandro Melo authored
      
      This reverts commit 44d8e7be.
      
      The original test case was actually right. I guess I was mislead
      by the recently added preprocessor tests, which are the ones
      that should be corrected (together with the preprocessor, which
      seems to have issues with # lineno generation).
      
      Conflicts:
      
      	tests/auto/cplusplus/preprocessor/tst_preprocessor.cpp
      
      Change-Id: I47f82ed23a37086d0d81c4b3ea2cac48fb753451
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      Reviewed-by: default avatarFrancois Ferrand <thetypz@gmail.com>
      9daa3400
    • Leandro Melo's avatar
      C++: Better handling of arg count mismatch in macros · f978400a
      Leandro Melo authored
      
      Do not expand function-like macros at all when there's a mismatch
      in the parameter/argument count.
      
      The report below raises the issue but its expected result is not
      correct. This would be the more appropriate fix.
      
      Task-number: QTCREATORBUG-7225
      Change-Id: Ide8580faa7b724d3e8b396ec1f899cc5ca7f9e7e
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      f978400a
  2. Jun 12, 2012
  3. Jun 05, 2012
  4. Jun 01, 2012
    • Leandro Melo's avatar
      C++: Fix macro uses line info · ca7ac8c0
      Leandro Melo authored
      
      Make sure the environment line is consistent during preprocessor
      directives and identifier handling so clients can rely on consistent
      information. Particularly important for macro usages.
      
      New tests also added.
      
      Change-Id: I962a39a86cd17b8d945d2959c2c95e2d258ea3e6
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      ca7ac8c0
  5. May 31, 2012
  6. May 30, 2012
  7. May 15, 2012
  8. Apr 27, 2012
  9. Apr 26, 2012
  10. Apr 25, 2012
  11. Apr 19, 2012
  12. Apr 17, 2012
  13. Apr 02, 2012
  14. Mar 30, 2012
  15. Mar 29, 2012
  16. Mar 19, 2012
  17. Mar 13, 2012
  18. Feb 28, 2012
  19. Jan 26, 2012
  20. Nov 03, 2011
  21. Jul 06, 2011
  22. Apr 13, 2011
  23. Feb 18, 2011
  24. Sep 02, 2010
  25. Feb 10, 2010
    • Erik Verbruggen's avatar
      Fixed pre-precessor bug. · 9806b1e1
      Erik Verbruggen authored
      When a PP line ended with a \ (join line) and the next line was empty
      (ending th joining), the following token would be incorrectly marked as
      joined.
      
      Done-with: Roberto Raggi
      9806b1e1
  26. Oct 27, 2009
  27. Jun 19, 2009
Loading