[PATCH] D84868: [clang-tidy] Use StringMap for ClangTidyOptions::OptionsMap

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 29 09:23:55 PDT 2020


njames93 created this revision.
njames93 added reviewers: aaron.ballman, gribozavr2.
Herald added subscribers: cfe-commits, xazax.hun.
Herald added a project: clang.
njames93 requested review of this revision.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84868

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84868.281637.patch
Type: text/x-patch
Size: 9494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200729/3c9f096e/attachment.bin>


More information about the cfe-commits mailing list