[all-commits] [llvm/llvm-project] af37d4: [analyzer][NFC] Refactor AnalysisConsumer::getMode...

Balazs Benics via All-commits all-commits at lists.llvm.org
Mon Nov 29 01:39:59 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af37d4b6fee8990d5b029796681b59e0d0390c28
      https://github.com/llvm/llvm-project/commit/af37d4b6fee8990d5b029796681b59e0d0390c28
  Author: Balazs Benics <balazs.benics at sigmatechnology.se>
  Date:   2021-11-29 (Mon, 29 Nov 2021)

  Changed paths:
    M clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp

  Log Message:
  -----------
  [analyzer][NFC] Refactor AnalysisConsumer::getModeForDecl()

I just read this part of the code, and I found the nested ifs less
readable.

Reviewed By: martong

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




More information about the All-commits mailing list