hokein added a comment. looks most good to me, a few nits.
================ Comment at: clang/include/clang/ASTMatchers/ASTMatchers.h:6488 + } + return InnerMatcher.matches(*CtorExpr, Finder, Builder); + } ---------------- This `return` statement is not needed. ================ Comment at: clang/unittests/ASTMatchers/ASTMatchersTest.h:16 #include "gtest/gtest.h" +#include <unordered_map> ---------------- looks like the `include` is not used? ================ Comment at: clang/unittests/ASTMatchers/ASTMatchersTest.h:153 + case LanguageMode::Cxx2aOrLater: + LangModes = {LanguageMode::Cxx2a}; + } ---------------- nit: add a llvm_unreachable for `default`. ================ Comment at: clang/unittests/ASTMatchers/ASTMatchersTest.h:177 + matchesConditionally(Code, AMatcher, ExpectMatch, LangModeArg); + if (!Result) { + return Result; ---------------- nit: no `{}` needed for a single-statement body. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D63149/new/ https://reviews.llvm.org/D63149 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits