[clang] [clang] Optimize castToDeclContext for 2% improvement in build times (PR #76825)
Pol M via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 4 00:59:18 PST 2024
================
@@ -95,8 +103,31 @@ std::pair<ASTNode, ASTNode> ClangASTNodesEmitter::EmitNode(raw_ostream &OS,
if (!Base.isAbstract())
First = Last = Base;
+ class Comp {
----------------
Destroyerrrocket wrote:
I'll make this a lambda
https://github.com/llvm/llvm-project/pull/76825
More information about the cfe-commits
mailing list