[clang] [clang] Optimize castToDeclContext for 2% improvement in build times (PR #76825)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 3 23:22:25 PST 2024
================
@@ -95,8 +103,31 @@ std::pair<ASTNode, ASTNode> ClangASTNodesEmitter::EmitNode(raw_ostream &OS,
if (!Base.isAbstract())
First = Last = Base;
+ class Comp {
----------------
Endilll wrote:
This class looks like a hand-written lambda closure type. Do we really need it in this form?
https://github.com/llvm/llvm-project/pull/76825
More information about the cfe-commits
mailing list