[clang] 7e0bef3 - [HLSL][NFC] Fix typo in comment in SemaHLSL.cpp (#125992)

via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 5 22:28:25 PST 2025


Author: Alex Sepkowski
Date: 2025-02-05T22:28:22-08:00
New Revision: 7e0bef35c23321c57b556ee24c66e3c18194d4f3

URL: https://github.com/llvm/llvm-project/commit/7e0bef35c23321c57b556ee24c66e3c18194d4f3
DIFF: https://github.com/llvm/llvm-project/commit/7e0bef35c23321c57b556ee24c66e3c18194d4f3.diff

LOG: [HLSL][NFC] Fix typo in comment in SemaHLSL.cpp  (#125992)

Fix a comment typo.

Added: 
    

Modified: 
    clang/lib/Sema/SemaHLSL.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Sema/SemaHLSL.cpp b/clang/lib/Sema/SemaHLSL.cpp
index 6d06d72931f79f..2cb389eefaac28 100644
--- a/clang/lib/Sema/SemaHLSL.cpp
+++ b/clang/lib/Sema/SemaHLSL.cpp
@@ -1359,7 +1359,7 @@ void SemaHLSL::collectResourceBindingsOnUserRecordDecl(const VarDecl *VD,
   }
 }
 
-// Diagnore localized register binding errors for a single binding; does not
+// Diagnose localized register binding errors for a single binding; does not
 // diagnose resource binding on user record types, that will be done later
 // in processResourceBindingOnDecl based on the information collected in
 // collectResourceBindingsOnVarDecl.


        


More information about the cfe-commits mailing list