Skip to content
  1. Nov 17, 2008
  2. Nov 16, 2008
  3. Nov 15, 2008
  4. Nov 14, 2008
    • Ted Kremenek's avatar
      Minor tweaks to liveness analysis: · fc419a03
      Ted Kremenek authored
      - Block-expression for 'ObjCForCollectionStmt' is not alive before it occurs
      - Recursively visit 'element' expression for ObjCForCollectionStmt to get liveness for referenced block-level expressions and variables.
      
      llvm-svn: 59316
      fc419a03
    • Ted Kremenek's avatar
      Second attempt at implementation transfer function support for... · 537f6387
      Ted Kremenek authored
      Second attempt at implementation transfer function support for ObjCForCollectionStmt.  We now assume that the 'element' expression can be any lvalue.
      
      llvm-svn: 59313
      537f6387
    • Ted Kremenek's avatar
      Flow-sensitive uninitialized values analysis: properly handle the 'element'... · 8959a1a6
      Ted Kremenek authored
      Flow-sensitive uninitialized values analysis: properly handle the 'element' expression of ObjCForCollectionStmt (can be anything).
      
      llvm-svn: 59312
      8959a1a6
    • Douglas Gregor's avatar
      Add a new expression node, CXXOperatorCallExpr, which expresses a · 993603d8
      Douglas Gregor authored
      function call created in response to the use of operator syntax that
      resolves to an overloaded operator in C++, e.g., "str1 +
      str2" that resolves to std::operator+(str1, str2)". We now build a
      CXXOperatorCallExpr in C++ when we pick an overloaded operator. (But
      only for binary operators, where we actually implement overloading)
      
      I decided *not* to refactor the current CallExpr to make it abstract
      (with FunctionCallExpr and CXXOperatorCallExpr as derived
      classes). Doing so would allow us to make CXXOperatorCallExpr a little
      bit smaller, at the cost of making the argument and callee accessors
      virtual. We won't know if this is going to be a win until we can parse
      lots of C++ code to determine how much memory we'll save by making
      this change vs. the performance penalty due to the extra virtual
      calls.
      
      llvm-svn: 59306
      993603d8
    • Douglas Gregor's avatar
      Don't require us to manually number the statements and expressions in... · be35ce95
      Douglas Gregor authored
      Don't require us to manually number the statements and expressions in StmtNodes.def. We don't need stable numbers yet, renumbering is a pain, and LAST_STMT had the wrong value anyway.
      
      llvm-svn: 59300
      be35ce95
Loading