Skip to content

Commit ede5998

Browse files
author
Adrian Tong
committed
Remove an unused MallocAllocator variable
1 parent 404b925 commit ede5998

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Sema/TypeCheckMacros.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,6 @@ evaluateAttachedMacro(MacroDecl *macro, Decl *attachedTo, CustomAttr *attr,
11441144
// Expand the definition with the given arguments.
11451145
auto result = expandMacroDefinition(
11461146
macroDef.getExpanded(), macro, attr->getArgs());
1147-
llvm::MallocAllocator allocator;
11481147
evaluatedSource = llvm::MemoryBuffer::getMemBufferCopy(
11491148
result, adjustMacroExpansionBufferName(*discriminator));
11501149
break;

0 commit comments

Comments
 (0)