[llvm] e59c882 - MemoryBuiltins: trailing , on collection literal
Dmitri Gribenko via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 19 09:33:41 PDT 2021
Author: Augie Fackler
Date: 2021-08-19T17:59:23+02:00
New Revision: e59c88294b9f710efbbc7a243ff98ed12678a4e9
URL: https://github.com/llvm/llvm-project/commit/e59c88294b9f710efbbc7a243ff98ed12678a4e9
DIFF: https://github.com/llvm/llvm-project/commit/e59c88294b9f710efbbc7a243ff98ed12678a4e9.diff
LOG: MemoryBuiltins: trailing , on collection literal
This was probably bugging more than is reasonable, but it makes merging
changes in this file slightly less annoying to have the trailing comma
here. I only noticed this because Rust is currently carrying a patch to
this file and it kept making life a little difficult.
Added:
Modified:
llvm/lib/Analysis/MemoryBuiltins.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/MemoryBuiltins.cpp b/llvm/lib/Analysis/MemoryBuiltins.cpp
index 68e997656d84..7af38003743f 100644
--- a/llvm/lib/Analysis/MemoryBuiltins.cpp
+++ b/llvm/lib/Analysis/MemoryBuiltins.cpp
@@ -111,7 +111,7 @@ static const std::pair<LibFunc, AllocFnsTy> AllocationFnData[] = {
{LibFunc_reallocf, {ReallocLike, 2, 1, -1}},
{LibFunc_strdup, {StrDupLike, 1, -1, -1}},
{LibFunc_strndup, {StrDupLike, 2, 1, -1}},
- {LibFunc___kmpc_alloc_shared, {MallocLike, 1, 0, -1}}
+ {LibFunc___kmpc_alloc_shared, {MallocLike, 1, 0, -1}},
// TODO: Handle "int posix_memalign(void **, size_t, size_t)"
};
More information about the llvm-commits
mailing list