Skip to content
  1. Oct 15, 2010
    • Douglas Gregor's avatar
      When performing typo correction, look through the set of known · 57756eab
      Douglas Gregor authored
      identifiers to determine good typo-correction candidates. Once we've
      identified those candidates, we perform name lookup on each of them
      and the consider the results. 
      
      This optimization makes typo correction > 2x faster on a benchmark
      example using a single typo (NSstring) in a tiny file that includes
      Cocoa.h from a precompiled header, since we are deserializing far less
      information now during typo correction.
      
      There is a semantic change here, which is interesting. The presence of
      a similarly-named entity that is not visible can now affect typo
      correction. This is both good (you won't get weird corrections if the
      thing you wanted isn't in scope) and bad (you won't get good
      corrections if there is a similarly-named-but-completely-unrelated
      thing). Time will tell whether it was a good choice or not.
      
      llvm-svn: 116528
      57756eab
    • Douglas Gregor's avatar
      Make sure that we diagnose invalid qualifiers on friend functions. · c3bbf48f
      Douglas Gregor authored
      llvm-svn: 116527
      c3bbf48f
  2. Oct 14, 2010
  3. Oct 13, 2010
  4. Oct 12, 2010
Loading