diff options
author | Jay Foad <jay.foad@amd.com> | 2023-09-07 17:58:02 +0100 |
---|---|---|
committer | Jay Foad <jay.foad@amd.com> | 2023-09-07 18:07:32 +0100 |
commit | e0094ac8a58a210bcb6ed91eab3726e6e6b66f87 (patch) | |
tree | 10c78f835af5565d731b468271514023bd32c383 /llvm/lib/IR/Module.cpp | |
parent | b85a9b3093a9c29604fdf5a03d049e5c85d0b92d (diff) | |
download | llvm-e0094ac8a58a210bcb6ed91eab3726e6e6b66f87.zip llvm-e0094ac8a58a210bcb6ed91eab3726e6e6b66f87.tar.gz llvm-e0094ac8a58a210bcb6ed91eab3726e6e6b66f87.tar.bz2 |
[IR] Move trivial accessor Module::getDataLayout into header
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
-rw-r--r-- | llvm/lib/IR/Module.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/IR/Module.cpp b/llvm/lib/IR/Module.cpp index 73354a8..5861bbd 100644 --- a/llvm/lib/IR/Module.cpp +++ b/llvm/lib/IR/Module.cpp @@ -395,8 +395,6 @@ void Module::setDataLayout(StringRef Desc) { void Module::setDataLayout(const DataLayout &Other) { DL = Other; } -const DataLayout &Module::getDataLayout() const { return DL; } - DICompileUnit *Module::debug_compile_units_iterator::operator*() const { return cast<DICompileUnit>(CUs->getOperand(Idx)); } |