From 751381db5a39a6367007e6cad166c5f3c3427f2e Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Tue, 21 Aug 2018 15:54:24 +0000 Subject: [clang][NFC] Fix typo in the name of a note Summary: r306722 introduced a new note called note_silence_unligned_allocation_unavailable where I believe what was meant is note_silence_aligned_allocation_unavailable. Reviewers: ahatanak Subscribers: dexonsmith, cfe-commits Differential Revision: https://reviews.llvm.org/D51043 llvm-svn: 340288 --- clang/lib/Sema/SemaExprCXX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Sema/SemaExprCXX.cpp') diff --git a/clang/lib/Sema/SemaExprCXX.cpp b/clang/lib/Sema/SemaExprCXX.cpp index 4b208ff6c30..1831430ad12 100644 --- a/clang/lib/Sema/SemaExprCXX.cpp +++ b/clang/lib/Sema/SemaExprCXX.cpp @@ -1744,7 +1744,7 @@ static void diagnoseUnavailableAlignedAllocation(const FunctionDecl &FD, S.Diag(Loc, diag::err_aligned_allocation_unavailable) << IsDelete << FD.getType().getAsString() << OSName << alignedAllocMinVersion(T.getOS()).getAsString(); - S.Diag(Loc, diag::note_silence_unligned_allocation_unavailable); + S.Diag(Loc, diag::note_silence_aligned_allocation_unavailable); } } -- cgit v1.2.3