[all-commits] [llvm/llvm-project] 497a75: [Clang-Tidy] Quick fix for bug in bugprone-macro-p...

Balogh, Ádám via All-commits all-commits at lists.llvm.org
Sun Dec 1 23:51:09 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 497a754adeca67196c12a936d09c12d6803f99de
      https://github.com/llvm/llvm-project/commit/497a754adeca67196c12a936d09c12d6803f99de
  Author: Adam Balogh <adam.balogh at ericsson.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/MacroParenthesesCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-macro-parentheses.cpp

  Log Message:
  -----------
  [Clang-Tidy] Quick fix for bug in bugprone-macro-parentheses 43804

Applying parentheses for statement leads to compilation error. Bug
[[ 43804 | https://bugs.llvm.org/show_bug.cgi?id=43804 ]] is a
compilation error suggested by a wrong fix of this checker. This
patch is a quick fix for this issue.

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




More information about the All-commits mailing list