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

Nathan James via All-commits all-commits at lists.llvm.org
Mon Feb 10 05:19:16 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 84cda4cceabdfec4f130bfafe7bbd050aa65b2ec
      https://github.com/llvm/llvm-project/commit/84cda4cceabdfec4f130bfafe7bbd050aa65b2ec
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-02-10 (Mon, 10 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

(cherry picked from commit efcd09cea9a51c522954aa24e4b5513266daf6c3)




More information about the All-commits mailing list