[all-commits] [llvm/llvm-project] 8f670d: CFG: Create scope for non-compound range-for body.

James Y Knight via All-commits all-commits at lists.llvm.org
Sun Jan 31 15:43:41 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f670d5b6d8f39bf9bf1d142dacef3afaed6d70b
      https://github.com/llvm/llvm-project/commit/8f670d5b6d8f39bf9bf1d142dacef3afaed6d70b
  Author: James Y Knight <jyknight at google.com>
  Date:   2021-01-31 (Sun, 31 Jan 2021)

  Changed paths:
    M clang/lib/Analysis/CFG.cpp
    M clang/test/Analysis/auto-obj-dtors-cfg-output.cpp

  Log Message:
  -----------
  CFG: Create scope for non-compound range-for body.

Previously, it was omitting the destructor call from the CFG, which
could result in incorrect diagnostics.




More information about the All-commits mailing list