[llvm] 28a6813 - Fix nulltpr typo in comment. NFC

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 4 09:05:11 PDT 2022


Author: Ilia Diachkov
Date: 2022-04-04T09:05:06-07:00
New Revision: 28a681316ff0eaec7a52035a458e396ef48e9c16

URL: https://github.com/llvm/llvm-project/commit/28a681316ff0eaec7a52035a458e396ef48e9c16
DIFF: https://github.com/llvm/llvm-project/commit/28a681316ff0eaec7a52035a458e396ef48e9c16.diff

LOG: 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

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Target/TargetLoweringObjectFile.h b/llvm/include/llvm/Target/TargetLoweringObjectFile.h
index bdc32fbbacd1c..0c09cfe684783 100644
--- a/llvm/include/llvm/Target/TargetLoweringObjectFile.h
+++ b/llvm/include/llvm/Target/TargetLoweringObjectFile.h
@@ -277,7 +277,7 @@ class TargetLoweringObjectFile : public MCObjectFileInfo {
   }
 
   /// 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 5956b3ae732e5..56ac18c3c1c9e 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*


        


More information about the llvm-commits mailing list