[all-commits] [llvm/llvm-project] e517e5: [clang] improve accuracy of ExprMutAnalyzer

Jonas Toth via All-commits all-commits at lists.llvm.org
Fri Oct 9 04:46:19 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e517e5cfec90a00a488ad8df901ab9b903ebb966
      https://github.com/llvm/llvm-project/commit/e517e5cfec90a00a488ad8df901ab9b903ebb966
  Author: Jonas Toth <development at jonas-toth.eu>
  Date:   2020-10-09 (Fri, 09 Oct 2020)

  Changed paths:
    M clang/lib/Analysis/ExprMutationAnalyzer.cpp
    M clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp

  Log Message:
  -----------
  [clang] improve accuracy of ExprMutAnalyzer

This patch extracts the ExprMutAnalyzer changes from https://reviews.llvm.org/D54943
into its own revision for simpler review and more atomic changes.

The analysis results are improved. Nested expressions (e.g. conditional
operators) are now detected properly. Some edge cases, especially
template induced imprecisions are improved upon.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D88088




More information about the All-commits mailing list