nikic wrote:

> Actually, I think we can do better here. For a static data member, 
> `isOutOfLine()` is equivalent to 
> `!isa<CXXRecordDecl>(getLexicalDeclContext())`.

This saves another 0.4%: 
https://llvm-compile-time-tracker.com/compare.php?from=474a9587dca7b37427405f86a8bf42090293f796&to=9b60a3552593a0b5fe9dc3ceedcebc155bf32dcd&stat=instructions:u

Do you plan to submit a PR for this?

https://github.com/llvm/llvm-project/pull/237621
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to