Skip to content
  1. Jan 14, 2010
  2. Jan 13, 2010
  3. Jan 12, 2010
  4. Jan 11, 2010
    • Douglas Gregor's avatar
      Improve code completion by introducing patterns for the various C and · 504a6ae8
      Douglas Gregor authored
      C++ grammatical constructs that show up in top-level (namespace-level)
      declarations, member declarations, template declarations, statements,
      expressions, conditions, etc. For example, we now provide a pattern
      for
      
        static_cast<type>(expr)
      
      when we can have an expression, or
      
        using namespace identifier;
      
      when we can have a using directive.
      
      Also, improves the results of code completion at the beginning of a
      top-level declaration. Previously, we would see value names (function
      names, global variables, etc.); now we see types, namespace names,
      etc., but no values.
      
      llvm-svn: 93134
      504a6ae8
  5. Dec 30, 2009
    • Chris Lattner's avatar
      remove extraneous #include · 1ca1d7ad
      Chris Lattner authored
      llvm-svn: 92310
      1ca1d7ad
    • Douglas Gregor's avatar
      Typo correction for type names when they appear in declarations, e.g., given · 2d435306
      Douglas Gregor authored
        tring str2;
      
      we produce the following diagnostic + fix-it:
      
      typo.cpp:15:1: error: unknown type name 'tring'; did you mean 'string'?
        tring str2;
        ^~~~~
        string
      
      
      To make this really useful, we'll need to introduce typo correction in
      many more places (wherever we do name lookup), and implement
      declaration-vs-expression heuristics that cope with typos
      better. However, for now this will handle the simple cases where we
      already get good "unknown type name" diagnostics.
      
      The LookupVisibleDecls functions are intended to be used by code
      completion as well as typo correction; that refactoring will happen
      later.
      
      llvm-svn: 92308
      2d435306
  6. Dec 25, 2009
  7. Dec 23, 2009
  8. Dec 18, 2009
  9. Dec 16, 2009
  10. Dec 15, 2009
    • Chris Lattner's avatar
      update to match LLVM API change: · 2f3da9b2
      Chris Lattner authored
      Remove isPod() from DenseMapInfo, splitting it out to its own
      isPodLike type trait.  This is a generally useful type trait for
      more than just DenseMap, and we really care about whether something
      acts like a pod, not whether it really is a pod.
      
      llvm-svn: 91422
      2f3da9b2
  11. Dec 12, 2009
  12. Dec 11, 2009
  13. Dec 07, 2009
  14. Dec 06, 2009
  15. Dec 05, 2009
  16. Dec 01, 2009
  17. Nov 30, 2009
  18. Nov 29, 2009
Loading