Skip to content
  1. Jan 10, 2012
  2. Jan 09, 2012
  3. Jan 08, 2012
  4. Jan 07, 2012
  5. Jan 06, 2012
    • Matt Beaumont-Gay's avatar
      Suppress -Wunused-value within macros from system headers. · 7a57adab
      Matt Beaumont-Gay authored
      Along the way, move a helper function from SemaChecking.cpp to a more
      accessible home in SourceManager.
      
      llvm-svn: 147692
      7a57adab
    • Fariborz Jahanian's avatar
      objc++: more code gen stuff for atomic property api, · 7ff610b6
      Fariborz Jahanian authored
      currently turned off. // rdar://6137845
      Also, fixes a test case which should be nonatomic under
      new API.
      
      llvm-svn: 147691
      7ff610b6
    • Ted Kremenek's avatar
      [analyzer] Make the entries in 'Environment' context-sensitive by making entries map from · 632e3b7e
      Ted Kremenek authored
      (Stmt*,LocationContext*) pairs to SVals instead of Stmt* to SVals.
      
      This is needed to support basic IPA via inlining.  Without this, we cannot tell
      if a Stmt* binding is part of the current analysis scope (StackFrameContext) or
      part of a parent context.
      
      This change introduces an uglification of the use of getSVal(), and thus takes
      two steps forward and one step back.  There are also potential performance implications
      of enlarging the Environment.  Both can be addressed going forward by refactoring the
      APIs and optimizing the internal representation of Environment.  This patch
      mainly introduces the functionality upon when we want to build upon (and clean up).
      
      llvm-svn: 147688
      632e3b7e
    • Douglas Gregor's avatar
      During name lookup, use redecl_iterator to walk over the redeclaration · 5407920f
      Douglas Gregor authored
      chain to determine whether any declaration of the given entity is
      visible, eliminating the redundant (and less efficient)
      getPreviousDeclaration() implementation.
      
      This tweak uncovered an omission in the handling of
      RedeclarableTemplateDecl, where we weren't making sure to search for
      additional redeclarations of a template in other module files. Things
      would be cleaner if RedeclarableTemplateDecl actually used Redeclarable.
      
      llvm-svn: 147687
      5407920f
Loading