Skip to content

Commit f830eb6

Browse files
authored
Merge pull request #65538 from platinumdragon1024/unused-var
[NFC] Remove an unused MallocAllocator variable
2 parents 987e569 + ede5998 commit f830eb6

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)