mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-02 07:56:06 +00:00

This is a helper to avoid writing `getModule()->getDataLayout()`. I regularly try to use this method only to remember it doesn't exist... `getModule()->getDataLayout()` is also a common (the most common?) reason why code has to include the Module.h header.