From cf16437e05b4378bfee899b7371bf55d36566ca8 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sat, 12 Dec 2020 20:19:33 -0500 Subject: [PATCH] fix typos to cycle bots --- llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp | 2 +- llvm/lib/DebugInfo/PDB/Native/NativeSourceFile.cpp | 2 +- llvm/lib/DebugInfo/PDB/Native/NativeTypeUDT.cpp | 2 +- llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp | 2 +- llvm/lib/DebugInfo/PDB/PDBInterfaceAnchors.cpp | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp b/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp index 4e58489..52df26b 100644 --- a/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp +++ b/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp @@ -162,7 +162,7 @@ static int gsiRecordCmp(StringRef S1, StringRef S2) { if (LLVM_UNLIKELY(!isAsciiString(S1) || !isAsciiString(S2))) return memcmp(S1.data(), S2.data(), LS); - // Both strings are ascii, perform a case-insenstive comparison. + // Both strings are ascii, perform a case-insensitive comparison. return S1.compare_lower(S2.data()); } diff --git a/llvm/lib/DebugInfo/PDB/Native/NativeSourceFile.cpp b/llvm/lib/DebugInfo/PDB/Native/NativeSourceFile.cpp index 6473207..fd813de 100644 --- a/llvm/lib/DebugInfo/PDB/Native/NativeSourceFile.cpp +++ b/llvm/lib/DebugInfo/PDB/Native/NativeSourceFile.cpp @@ -1,4 +1,4 @@ -//===- NativeSourceFile.cpp - Native line number implementaiton -*- C++ -*-===// +//===- NativeSourceFile.cpp - Native line number implementation -*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/llvm/lib/DebugInfo/PDB/Native/NativeTypeUDT.cpp b/llvm/lib/DebugInfo/PDB/Native/NativeTypeUDT.cpp index b0be7f7..917ec14 100644 --- a/llvm/lib/DebugInfo/PDB/Native/NativeTypeUDT.cpp +++ b/llvm/lib/DebugInfo/PDB/Native/NativeTypeUDT.cpp @@ -120,7 +120,7 @@ PDB_UdtType NativeTypeUDT::getUdtKind() const { case TypeRecordKind::Interface: return PDB_UdtType::Interface; default: - llvm_unreachable("Unexected udt kind"); + llvm_unreachable("Unexpected udt kind"); } } diff --git a/llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp b/llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp index 3cab59e..113fce6 100644 --- a/llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp +++ b/llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp @@ -246,7 +246,7 @@ SymbolCache::getSymbolById(SymIndexId SymbolId) const { return nullptr; // Make sure to handle the case where we've inserted a placeholder symbol - // for types we don't yet suppport. + // for types we don't yet support. NativeRawSymbol *NRS = Cache[SymbolId].get(); if (!NRS) return nullptr; diff --git a/llvm/lib/DebugInfo/PDB/PDBInterfaceAnchors.cpp b/llvm/lib/DebugInfo/PDB/PDBInterfaceAnchors.cpp index 8eb3311..d51091d 100644 --- a/llvm/lib/DebugInfo/PDB/PDBInterfaceAnchors.cpp +++ b/llvm/lib/DebugInfo/PDB/PDBInterfaceAnchors.cpp @@ -1,4 +1,4 @@ -//===- PDBInterfaceAnchors.h - defines class anchor funcions ----*- C++ -*-===// +//===- PDBInterfaceAnchors.h - defines class anchor functions ---*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// // Class anchors are necessary per the LLVM Coding style guide, to ensure that // the vtable is only generated in this object file, and not in every object -// file that incldues the corresponding header. +// file that includes the corresponding header. //===----------------------------------------------------------------------===// #include "llvm/DebugInfo/PDB/IPDBDataStream.h" -- 2.7.4