Eugene.Zelenko added inline comments.

================
Comment at: clang-tools-extra/clang-tidy/utils/ExceptionSpecAnalyzer.cpp:83
+                                   DefaultableMemberKind Kind) {
+  auto *RecType = Base.getType()->getAs<RecordType>();
+  if (!RecType)
----------------
Should be `const auto *`.


================
Comment at: clang-tools-extra/clang-tidy/utils/ExceptionSpecAnalyzer.cpp:87
+
+  auto *BaseClass = cast<CXXRecordDecl>(RecType->getDecl());
+
----------------
Ditto.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146922/new/

https://reviews.llvm.org/D146922

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to