Skip to content

Commit 7c77439

Browse files
authored
[NFC] Fix typos in code comments. (#5286)
This just fixes two small typos in code comments. Nothing to see here...
1 parent 43482b7 commit 7c77439

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tools/clang/lib/CodeGen/CGHLSLMSFinishCodeGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ void AddOpcodeParamForIntrinsic(
757757
DXASSERT(resTy, "must find the resource type");
758758
// Change object type to handle type.
759759
paramTyList[HLOperandIndex::kSubscriptObjectOpIdx] = HandleTy;
760-
// Change RetTy into pointer of resource reture type.
760+
// Change RetTy into pointer of resource return type.
761761
RetTy = cast<StructType>(resTy)->getElementType(0)->getPointerTo();
762762
}
763763

tools/clang/lib/Sema/SemaHLSL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3068,7 +3068,7 @@ class HLSLExternalSource : public ExternalSemaSource {
30683068
/// <summary>Adds all supporting declarations to reference scalar types.</summary>
30693069
void AddHLSLScalarTypes();
30703070

3071-
/// <summary>Adds string type QualType for HSLS string declarations</summary>
3071+
/// <summary>Adds string type QualType for HLSL string declarations</summary>
30723072
void AddHLSLStringType();
30733073

30743074
QualType GetTemplateObjectDataType(_In_ CXXRecordDecl* recordDecl)

0 commit comments

Comments
 (0)