From 28a681316ff0eaec7a52035a458e396ef48e9c16 Mon Sep 17 00:00:00 2001 From: Ilia Diachkov Date: Mon, 4 Apr 2022 09:05:06 -0700 Subject: [PATCH] Fix nulltpr typo in comment. NFC The patch fixes the typo "nulltpr", accidentally found in comments. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D122993 --- llvm/include/llvm/Target/TargetLoweringObjectFile.h | 2 +- llvm/lib/MC/MCWin64EH.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/Target/TargetLoweringObjectFile.h b/llvm/include/llvm/Target/TargetLoweringObjectFile.h index bdc32fbbacd1..0c09cfe68478 100644 --- a/llvm/include/llvm/Target/TargetLoweringObjectFile.h +++ b/llvm/include/llvm/Target/TargetLoweringObjectFile.h @@ -277,7 +277,7 @@ public: } /// If supported, return the function entry point symbol. - /// Otherwise, returns nulltpr. + /// Otherwise, returns nullptr. /// Func must be a function or an alias which has a function as base object. virtual MCSymbol *getFunctionEntryPointSymbol(const GlobalValue *Func, const TargetMachine &TM) const { diff --git a/llvm/lib/MC/MCWin64EH.cpp b/llvm/lib/MC/MCWin64EH.cpp index 5956b3ae732e..56ac18c3c1c9 100644 --- a/llvm/lib/MC/MCWin64EH.cpp +++ b/llvm/lib/MC/MCWin64EH.cpp @@ -514,7 +514,7 @@ static void ARM64EmitUnwindCode(MCStreamer &streamer, const MCSymbol *begin, } // Returns the epilog symbol of an epilog with the exact same unwind code -// sequence, if it exists. Otherwise, returns nulltpr. +// sequence, if it exists. Otherwise, returns nullptr. // EpilogInstrs - Unwind codes for the current epilog. // Epilogs - Epilogs that potentialy match the current epilog. static MCSymbol*