Skip to content
  1. Apr 30, 2008
  2. Apr 29, 2008
  3. Apr 28, 2008
  4. Apr 27, 2008
  5. Apr 26, 2008
  6. Apr 25, 2008
  7. Apr 24, 2008
  8. Apr 23, 2008
    • Ted Kremenek's avatar
      Fixed: <rdar://problem/5881148> · dd43aeee
      Ted Kremenek authored
      Problem:
      
      In the recently refactored VisitDeref (which processes dereferences), we
      were incorrectly skipping the node just generated for the subexpression
      of the dereference.  This was a horrible regression.
      
      llvm-svn: 50176
      dd43aeee
    • Ted Kremenek's avatar
      TranslationUnit now owns IdentifierTable, TargetInfo, and Selectors objects · 467297ab
      Ted Kremenek authored
      when it is constructed via deserialization.  This is done by recording a flag
      indicating that this is the case, and it deletes these objects by getting
      the references stored in the ASTContext object.  This fixes some memory
      leaks that occurs when we deserialize translation units from bitcode files.
      
      The rationale between having TranslationUnit sometimes own these objects and
      sometimes not is that a TranslationUnit object can be constructed from
      state generated by the parser (Preprocessor; semantic analyzer, etc.), and thus
      in these cases won't own the IdentifierTable or Selectors, etc.  During
      deserialization, there is no Preprocessor, so somebody needs to own these
      objects in order for them to be properly reclaimed.
      
      llvm-svn: 50149
      467297ab
    • Ted Kremenek's avatar
      Remove false path where the default branch in a switch statement would · d2419a07
      Ted Kremenek authored
      always be taken even if it was not feasible.
      
      llvm-svn: 50132
      d2419a07
Loading