[PATCH] D40580: [clang-tidy] Adding Fuchsia checker for multiple inheritance
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 1 10:20:58 PST 2017
Eugene.Zelenko added inline comments.
================
Comment at: clang-tidy/fuchsia/MultipleInheritanceCheck.cpp:35
+ StringRef Name = Node->getIdentifier()->getName();
+ auto Pair = InterfaceMap.find(Name);
+ if (Pair == InterfaceMap.end())
----------------
aaron.ballman wrote:
> Don't use `auto` as the type is not spelled out explicitly in the initialization.
But such cases are included in modernize-use-auto.
https://reviews.llvm.org/D40580
More information about the cfe-commits
mailing list