[all-commits] [llvm/llvm-project] 45a720: [clang-tidy] Use StringMap for ClangTidyOptions::O...

Nathan James via All-commits all-commits at lists.llvm.org
Thu Jul 30 02:31:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 45a720a864320bbbeb596abe412786fa91858980
      https://github.com/llvm/llvm-project/commit/45a720a864320bbbeb596abe412786fa91858980
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-07-30 (Thu, 30 Jul 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/ClangTidy.cpp
    M clang-tools-extra/clang-tidy/ClangTidyCheck.cpp
    M clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
    M clang-tools-extra/clang-tidy/ClangTidyOptions.h
    M clang-tools-extra/test/clang-tidy/checkers/google-module.cpp
    M clang-tools-extra/test/clang-tidy/infrastructure/config-files.cpp

  Log Message:
  -----------
  [clang-tidy] Use StringMap for ClangTidyOptions::OptionsMap

Ordering of options isn't important so an `llvm::StringMap` is a much better container for this purpose.

Reviewed By: gribozavr2

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




More information about the All-commits mailing list