1. 19 Oct, 2015 1 commit
  2. 13 Oct, 2015 3 commits
  3. 12 Oct, 2015 3 commits
    • Marco Bubke's avatar
      Clang: Don't set a translation unit dirty if the main file is deleted · b8a9e858
      Marco Bubke authored
      If a file is deleted the translation unit should be not updated. It will be
      later removed anyway.
      
      Task-number: QTCREATORBUG-15070
      Change-Id: I40c9c70629dab1d35b713d54442ffdbb2df3db43
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
      b8a9e858
    • Nikolai Kosjar's avatar
      CppTools: Make FollowSymbol respect projects · 6b6ad446
      Nikolai Kosjar authored
      Finding the class definition for a forward declaration or finding the
      function definition from its declaration is mostly determined by the
      file iteration order. Documents with the most common path prefix are
      checked first.
      
      This works fine as long as the files of your project have a common
      ancestor. If that's not the case, FollowSymbol might take you to the
      definition within another project.
      
      Fix that issue by considering the project part id when constructing the
      file iteration order. Since the cached file iteration order now depends
      on the projects, ensure to clear it if projects are added, changed or
      removed.
      
      Task-number: QTCREATORBUG-15116
      Change-Id: I529166bac363959c9fee0b946747fd0370a88809
      Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
      6b6ad446
    • Tobias Hunger's avatar
      Utils: Move template file processing from projectexplorer to utils · 95b0dc91
      Tobias Hunger authored
      I want to use it e.g. for snippets and the TextEditor plugin may
      not depend on the ProjectExplorer, so the code has to move.
      
      This adds a dependency on QtQml to Utils, but that does not really
      matter since that is loaded into QtCreator anyway.
      
      Change-Id: Iada9f40b2966a1fc41631ab33da09812ad67d967
      Reviewed-by: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
      95b0dc91
  4. 09 Oct, 2015 1 commit
  5. 06 Oct, 2015 1 commit
  6. 05 Oct, 2015 2 commits
  7. 03 Oct, 2015 1 commit
    • Claus Steuer's avatar
      C++: Support noexcept operator · 158b07c9
      Claus Steuer authored
      The code model failed to parse the noexcept operator which is often
      used in noexcept specifiers, e.g.: "void f() noexcept(noexcept(g()));"
      Consequently some c++11 headers such as unordered_map, array
      and unordered_set could not be parsed and no code completition was
      available. I have created the NoExceptOperatorExpressionAST class
      which is created whenever a noexcept token is found in an
      expression with operator precedence. The noExcept test case
      in the cplusplus/cxx11 test now contains a function that
      uses the noexcept operator.
      
      Fixed noexcept operator parsing
      
      Added the test requested by Sergey Shambir, which then revealed that
      i had not implemeneted the noexpect operator parsing according to the
      c++ specification.
      As stated here http://cpp0x.centaur.ath.cx/expr.unary.noexcept.html
      the noexcept operator is a unary-expression that contains an
      expression (and not a constant-expression). This should now be fixed.
      
      Change-Id: Id4a99a43b660bd83e7680274491d99a698b57094
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
      158b07c9
  8. 01 Oct, 2015 3 commits
  9. 30 Sep, 2015 1 commit
  10. 29 Sep, 2015 2 commits
    • Nikolai Kosjar's avatar
      Clang: Integrate clang's fixits as refactoring actions · a7928b4b
      Nikolai Kosjar authored
      They are invokable by the usual means (Alt+Enter, editor's context menu
      > Refactor) plus by the context menu of the editor's left margin for the
      related line.
      
      The fixit text comes directly from libclang and is thus not translated.
      We modify the text slighty by stripping the diagnostic category prefix
      ("note:", "error:", ...) and capitalizing the first letter.
      
      A follow-up change should properly indicate available refactorings with
      a refactoring icon in the editor's left margin.
      
      Task-number: QTCREATORBUG-14868
      Change-Id: I86157c9f824d2a9dedf19087476d02ad1e6cc854
      Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
      a7928b4b
    • Nikolai Kosjar's avatar
      Clang: Refactor handling of diagnostics · de6d7f06
      Nikolai Kosjar authored
      ...by introducing ClangDiagnosticManager and the helper class
      ClangDiagnosticFilter.
      
      ClangDiagnosticManager will get more state in a follow-up change.
      
      Change-Id: Id2c312bc897ea41ed67292b56b24dcfb7975ff4a
      Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
      de6d7f06
  11. 28 Sep, 2015 2 commits
  12. 23 Sep, 2015 1 commit
  13. 21 Sep, 2015 2 commits
  14. 11 Sep, 2015 4 commits
  15. 10 Sep, 2015 1 commit
  16. 09 Sep, 2015 1 commit
  17. 08 Sep, 2015 1 commit
  18. 03 Sep, 2015 2 commits
  19. 02 Sep, 2015 3 commits
  20. 01 Sep, 2015 3 commits
  21. 31 Aug, 2015 2 commits