[PATCH] D122993: Fix nulltpr typo in comment

Ilia Diachkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 3 05:10:38 PDT 2022


iliya-diyachkov created this revision.
iliya-diyachkov added reviewers: efriedma, DiggerLin, MaskRay.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
iliya-diyachkov requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The patch fixes the typo "nulltpr", accidentally found in comments.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122993

Files:
  llvm/include/llvm/Target/TargetLoweringObjectFile.h
  llvm/lib/MC/MCWin64EH.cpp


Index: llvm/lib/MC/MCWin64EH.cpp
===================================================================
--- llvm/lib/MC/MCWin64EH.cpp
+++ llvm/lib/MC/MCWin64EH.cpp
@@ -514,7 +514,7 @@
 }
 
 // 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*
Index: llvm/include/llvm/Target/TargetLoweringObjectFile.h
===================================================================
--- llvm/include/llvm/Target/TargetLoweringObjectFile.h
+++ llvm/include/llvm/Target/TargetLoweringObjectFile.h
@@ -277,7 +277,7 @@
   }
 
   /// 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 {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122993.420039.patch
Type: text/x-patch
Size: 1146 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220403/77fa234e/attachment.bin>


More information about the llvm-commits mailing list