mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
MCContext: Remove redundant assignment
The member variable is not initialized in the ctor so it's already empty. No need to empty it again. llvm-svn: 203963
This commit is contained in:
parent
cbee162fdf
commit
6f5320c729
@ -59,8 +59,6 @@ MCContext::MCContext(const MCAsmInfo *mai, const MCRegisterInfo *mri,
|
|||||||
|
|
||||||
if (SrcMgr && SrcMgr->getNumBuffers() > 0)
|
if (SrcMgr && SrcMgr->getNumBuffers() > 0)
|
||||||
MainFileName = SrcMgr->getMemoryBuffer(0)->getBufferIdentifier();
|
MainFileName = SrcMgr->getMemoryBuffer(0)->getBufferIdentifier();
|
||||||
else
|
|
||||||
MainFileName = "";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MCContext::~MCContext() {
|
MCContext::~MCContext() {
|
||||||
|
Loading…
Reference in New Issue
Block a user