[PATCH] D149518: [clang] Optimize clang::ASTNodeKind::isBaseOf

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 5 10:30:16 PDT 2023


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

Oh wow, I'm surprised that calculating the distance has that much compile time impact. Great catch! Please add `NFC` to the commit summary so folks know why there are no tests.

LGTM!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149518



More information about the cfe-commits mailing list