Skip to content
Snippets Groups Projects
  1. Sep 09, 2013
    • Erik Verbruggen's avatar
      C++: clean-up CppCompletionAssist. · b4a1bd41
      Erik Verbruggen authored
      
      This is step 1 of 2 for merging the various provider factories into a
      single class. Merging has the advantage that selecting based on editor
      (content) mime-type only has to select one class, instead of re-doing
      the selection for each class separately.
      
      Change-Id: I11f815151bd4769ae6028b636793d6a80d02e202
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      b4a1bd41
  2. Sep 03, 2013
  3. Aug 22, 2013
  4. Aug 01, 2013
  5. Jul 31, 2013
  6. Jul 25, 2013
  7. Jul 18, 2013
  8. Jul 17, 2013
  9. Jul 09, 2013
  10. Jun 18, 2013
    • Przemyslaw Gorszkowski's avatar
      C++: add support for local types · 68d6a762
      Przemyslaw Gorszkowski authored
      
      This change addes support for class, enum definition inside blocks({}) or
      functions, e.g.:
      void f()
      {
      	struct S
      	{
      		int bar;
      	};
      	S s;
      	s.bar;
      }
      
      It fixes:
      * code completion
      * highlighting
      * follow symbol
      * marking
      * find usages
      
      It fixes also problem with namespace aliases inside blocks or functions.
      
      This change can have also impact on performance(there are additional processing)
      
      Task-number: QTCREATORBUG-166 (namespace aliases inside function/block)
      Task-number: QTCREATORBUG-3620
      Task-number: QTCREATORBUG-6013
      Task-number: QTCREATORBUG-8020
      Change-Id: Iaea6c6dfe276f1d7b2279b50bdd2e68e375d31eb
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      68d6a762
  11. Jun 11, 2013
  12. May 03, 2013
  13. Apr 26, 2013
  14. Apr 19, 2013
  15. Apr 10, 2013
  16. Apr 03, 2013
  17. Mar 19, 2013
  18. Mar 15, 2013
  19. Mar 12, 2013
  20. Feb 21, 2013
  21. Jan 30, 2013
  22. Jan 29, 2013
  23. Jan 21, 2013
  24. Jan 14, 2013
  25. Jan 08, 2013
    • Orgad Shaneh's avatar
      Remove braces for single lines of conditions · 29a93998
      Orgad Shaneh authored
      
      #!/usr/bin/env ruby
      
      Dir.glob('**/*.cpp') { |file|
        # skip ast (excluding paste, astpath, and canv'ast'imer)
        next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i
        s = File.read(file)
        next if s.include?('qlalr')
        orig = s.dup
        s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m|
          res = $&
          if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces
            res
          else
            res.gsub!('} else', 'else')
            res.gsub!(/\n +} *\n/m, "\n")
            res.gsub(/ *{$/, '')
          end
        }
        s.gsub!(/ *$/, '')
        File.open(file, 'wb').write(s) if s != orig
      }
      
      Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      29a93998
  26. Dec 04, 2012
  27. Nov 22, 2012
  28. Nov 20, 2012
  29. Oct 31, 2012
  30. Oct 17, 2012
  31. Oct 15, 2012
  32. Oct 11, 2012
  33. Oct 10, 2012
  34. Oct 05, 2012
  35. Jul 20, 2012
  36. Jul 19, 2012
Loading