Skip to content
  1. Jan 13, 2009
  2. Jan 12, 2009
  3. Jan 11, 2009
  4. Jan 10, 2009
  5. Jan 09, 2009
    • Douglas Gregor's avatar
      When we see a reference to a struct, class, or union like "struct X" · 658b9550
      Douglas Gregor authored
      that is neither a definition nor a forward declaration and where X has
      not yet been declared as a tag, introduce a declaration
      into the appropriate scope (which is likely *not* to be the current
      scope). The rules for the placement of the declaration differ slightly
      in C and C++, so we implement both and test the various corner
      cases. This implementation isn't 100% correct due to some lingering
      issues with the function prototype scope (for a function parameter
      list) not being the same scope as the scope of the function
      definition. Testcase is FIXME'd; this probably isn't an important issue.
      
      Addresses <rdar://problem/6484805>.
      
      llvm-svn: 62014
      658b9550
    • Sebastian Redl's avatar
      6138f2b4
    • Ted Kremenek's avatar
      Dead stores checker: Don't flag dead stores for self-assignments (common... · 890d44eb
      Ted Kremenek authored
      Dead stores checker: Don't flag dead stores for self-assignments (common escape hatch for 'unused variable' warnings).
      
      llvm-svn: 62010
      890d44eb
    • Ted Kremenek's avatar
      Enhance PTH 'getSpelling' caching: · 47b8cf6d
      Ted Kremenek authored
      - Refactor caching logic into a helper class PTHSpellingSearch
      - Allow "random accesses" in the spelling cache, thus catching the remaining
        cases where 'getSpelling' wasn't hitting the PTH cache
        
      For -Eonly, PTH, Cocoa.h:
      - This reduces wall time by 3% (user time unchanged, sys time reduced)
      - This reduces the amount of paged source by 1112K.
        The remaining 1112K still being paged in is from somewhere else
        (investigating).
      
      llvm-svn: 62009
      47b8cf6d
Loading