[all-commits] [llvm/llvm-project] 2cc427: [clang/CFG] Don't explicitly add AttributedStmtCla...

Nico Weber via All-commits all-commits at lists.llvm.org
Tue Oct 12 10:29:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cc42758a9d89da7c726b78232dfba02314957a9
      https://github.com/llvm/llvm-project/commit/2cc42758a9d89da7c726b78232dfba02314957a9
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-10-12 (Tue, 12 Oct 2021)

  Changed paths:
    M clang/lib/Sema/AnalysisBasedWarnings.cpp

  Log Message:
  -----------
  [clang/CFG] Don't explicitly add AttributedStmtClass to AlwaysAddList

CFGBuilder::addStmt() implicitly passes AddStmtChoice::AlwaysAdd
to Visit() already, so this should have no behavior change.

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




More information about the All-commits mailing list