[all-commits] [llvm/llvm-project] efcd09: [clang-tidy] Fix false positive for cppcoreguideli...

Nathan James via All-commits all-commits at lists.llvm.org
Sun Feb 2 13:26:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: efcd09cea9a51c522954aa24e4b5513266daf6c3
      https://github.com/llvm/llvm-project/commit/efcd09cea9a51c522954aa24e4b5513266daf6c3
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-02-02 (Sun, 02 Feb 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-init-variables.cpp

  Log Message:
  -----------
  [clang-tidy] Fix false positive for cppcoreguidelines-init-variables

Summary: Fixes [[ https://bugs.llvm.org/show_bug.cgi?id=44746 | False positive for cppcoreguidelines-init-variables in range based for loop in template function ]]

Reviewers: aaron.ballman, alexfh, hokein, JonasToth, gribozavr2

Reviewed By: aaron.ballman

Subscribers: merge_guards_bot, xazax.hun, wuzish, nemanjai, kbarton, cfe-commits

Tags: #clang, #clang-tools-extra

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




More information about the All-commits mailing list