Skip to content
Snippets Groups Projects
  1. Nov 13, 2017
  2. Sep 26, 2017
  3. Sep 14, 2017
  4. Jul 19, 2017
  5. Mar 09, 2017
    • Anna Zaks's avatar
      [analyzer] Improve usability of ExprInspectionChecker · 5a343ec2
      Anna Zaks authored
      Some of the magic functions take arguments of arbitrary type. However,
      for semantic correctness, the compiler still requires a declaration
      of these functions with the correct type. Since C does not have
      argument-type-overloaded function, this made those functions hard to
      use in C code. Improve this situation by allowing arbitrary suffixes
      in the affected magic functions' names, thus allowing the user to
      create different declarations for different types.
      
      A patch by Keno Fischer!
      
      Differential Revision: https://reviews.llvm.org/D30589
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@297325 91177308-0d34-0410-b5e6-96231b3b80d8
      5a343ec2
  6. Jan 12, 2017
  7. Nov 30, 2016
    • Artem Dergachev's avatar
      [analyzer] Minor fixes and improvements to debug.ExprInspection · aa1bd55b
      Artem Dergachev authored
      - Fix the bug with transition handling in ExprInspectionChecker's
        checkDeadSymbols implementation.
      
      - Test this bug by adding a new function clang_analyzer_numTimesReached() to
        catch number of passes through the code, which should be handy for testing
        against unintended state splits.
      
      - Add two more functions should help debugging issues quickly without running
        the debugger or dumping exploded graphs - clang_analyzer_dump() which dump()s
        an SVal argument to a warning message, and clang_analyzer_printState(), which
        dump()s the current program state to stderr.
      
      Differential Revision: https://reviews.llvm.org/D26835
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288257 91177308-0d34-0410-b5e6-96231b3b80d8
      aa1bd55b
  8. Aug 28, 2016
  9. Jul 18, 2016
  10. Mar 31, 2016
  11. Jan 26, 2016
  12. Jan 15, 2016
  13. Jan 13, 2016
  14. Dec 10, 2015
  15. Aug 27, 2015
  16. Jan 01, 2014
  17. Oct 03, 2013
    • Jordan Rose's avatar
      [analyzer] Add new debug helper clang_analyzer_warnIfReached. · d000b852
      Jordan Rose authored
      This will emit a warning if a call to clang_analyzer_warnIfReached is
      executed, printing REACHABLE. This is a more explicit way to declare
      expected reachability than using clang_analyzer_eval or triggering
      a bug (divide-by-zero or null dereference), and unlike the former will
      work the same in inlined functions and top-level functions. Like the
      other debug helpers, it is part of the debug.ExprInspection checker.
      
      Patch by Jared Grubb!
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191909 91177308-0d34-0410-b5e6-96231b3b80d8
      d000b852
  18. Sep 13, 2013
  19. Jun 24, 2013
  20. May 07, 2013
  21. Apr 05, 2013
    • Jordan Rose's avatar
      [analyzer] Enable destructor inlining by default (c++-inlining=destructors). · b11a9086
      Jordan Rose authored
      This turns on not only destructor inlining, but inlining of constructors
      for types with non-trivial destructors. Per r178516, we will still not
      inline the constructor or destructor of anything that looks like a
      container unless the analyzer-config option 'c++-container-inlining' is
      set to 'true'.
      
      In addition to the more precise path-sensitive model, this allows us to
      catch simple smart pointer issues:
      
        #include <memory>
      
        void test() {
          std::auto_ptr<int> releaser(new int[4]);
        } // memory allocated with 'new[]' should not be deleted with 'delete'
      
      <rdar://problem/12295363>
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178805 91177308-0d34-0410-b5e6-96231b3b80d8
      b11a9086
  22. Feb 27, 2013
  23. Feb 05, 2013
  24. Jan 30, 2013
  25. Jan 07, 2013
  26. Jan 03, 2013
    • Sean Silva's avatar
      analyzer: add initial Sphinx configuration · 0f48f9d5
      Sean Silva authored
      This is just the output of sphinx-quickstart. Now all that is needed
      to begin converting the analyzer docs to reST is the server-side setup.
      
      The analyzer folks have asked me to keep this segregated from the other
      clang docs since the analyzer is a logically separate project (and has
      its own separate web page) even though it resides in the clang tree.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171425 91177308-0d34-0410-b5e6-96231b3b80d8
      0f48f9d5
  27. Dec 18, 2012
  28. Dec 15, 2012
  29. Sep 10, 2012
  30. Aug 31, 2012
  31. Aug 27, 2012
  32. Aug 22, 2012
Loading