Skip to content
  1. Apr 04, 2011
  2. Mar 19, 2011
  3. Mar 17, 2011
  4. Mar 15, 2011
  5. Mar 10, 2011
    • Ted Kremenek's avatar
      When doing reachability analysis for warnings issued under... · a099c595
      Ted Kremenek authored
      When doing reachability analysis for warnings issued under DiagRuntimeBehavior, don't construct a ParentMap or CFGStmtMap.
      Instead, create a small set of Stmt* -> CFGBlock* mappings during CFG construction for only the statements we care about
      relating to the diagnostics we want to check for reachability.
      
      llvm-svn: 127396
      a099c595
  6. Mar 03, 2011
  7. Mar 02, 2011
  8. Feb 23, 2011
  9. Feb 05, 2011
  10. Feb 03, 2011
  11. Feb 01, 2011
    • Ted Kremenek's avatar
      Add temporary hack to -Wuninitialize to create a separate CFG (for C++ code)... · 5b428844
      Ted Kremenek authored
      Add temporary hack to -Wuninitialize to create a separate CFG (for C++ code) that doesn't include implicit dtors.
      
      Implicit dtors confuse the ad hoc path-sensitivity of UninitializedValuesV2.cpp.  This isn't
      the ideal solution, as it will directly impact compile time, but should significantly reduce
      the noise of -Wuninitialized on some code bases.
      
      This immediately "fixes" the false positive reported in PR 9063, although this
      isn't the right fix in the long run.
      
      llvm-svn: 124667
      5b428844
  12. Jan 27, 2011
  13. Jan 26, 2011
    • Ted Kremenek's avatar
      Teach -Wreturn-type that destructors can appear · 5d068499
      Ted Kremenek authored
      after a 'return' in a CFGBlock.  This accidentally
      was working before, but the false assumption that
      'return' always appeared at the end of the block
      was uncovered by a recent change.
      
      llvm-svn: 124280
      5d068499
  14. Jan 25, 2011
  15. Jan 21, 2011
  16. Jan 18, 2011
  17. Jan 17, 2011
  18. Jan 16, 2011
  19. Jan 15, 2011
  20. Jan 08, 2011
    • Chandler Carruth's avatar
      Remove a kludge from analysis based warnings that used to detect · b35635e9
      Chandler Carruth authored
      temporaries with no-return destructors. The CFG now properly supports
      temporaries and implicit destructors which both makes this kludge no
      longer work, and conveniently removes the need for it.
      
      Turn on CFG handling of implicit destructors and initializers. Several
      ad-hoc benchmarks don't indicate any measurable performance impact from
      growing the CFG, and it fixes real correctness problems with warnings.
      
      As a result of turning on these CFG elements, we started to tickle an
      inf-loop in the unreachable code logic used for warnings. The fix is
      trivial.
      
      llvm-svn: 123056
      b35635e9
  21. Dec 15, 2010
    • Argyrios Kyrtzidis's avatar
      Fix diagnostic pragmas. · 1cb0de1d
      Argyrios Kyrtzidis authored
      Diagnostic pragmas are broken because we don't keep track of the diagnostic state changes and we only check the current/latest state.
      Problems manifest if a diagnostic is emitted for a source line that has different diagnostic state than the current state; this can affect
      a lot of places, like C++ inline methods, template instantiations, the lexer, etc.
      
      Fix the issue by having the Diagnostic object keep track of the source location of the pragmas so that it is able to know what is the diagnostic state at any given source location.
      
      Fixes rdar://8365684.
      
      llvm-svn: 121873
      1cb0de1d
  22. Dec 06, 2010
  23. Sep 16, 2010
  24. Sep 09, 2010
  25. Aug 26, 2010
  26. Aug 25, 2010
  27. Aug 24, 2010
  28. Aug 12, 2010
  29. Jul 26, 2010
  30. Jul 19, 2010
  31. May 18, 2010
Loading