File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ class LLVM_EXTERNAL_VISIBILITY Module {
251
251
}
252
252
253
253
// / Get the data layout for the module's target platform.
254
- const DataLayout &getDataLayout () const ;
254
+ const DataLayout &getDataLayout () const { return DL; }
255
255
256
256
// / Get the target triple which is a string describing the target host.
257
257
// / @returns a string containing the target triple.
Original file line number Diff line number Diff line change @@ -395,8 +395,6 @@ void Module::setDataLayout(StringRef Desc) {
395
395
396
396
void Module::setDataLayout (const DataLayout &Other) { DL = Other; }
397
397
398
- const DataLayout &Module::getDataLayout () const { return DL; }
399
-
400
398
DICompileUnit *Module::debug_compile_units_iterator::operator *() const {
401
399
return cast<DICompileUnit>(CUs->getOperand (Idx));
402
400
}
You can’t perform that action at this time.
0 commit comments