Skip to content

Commit 7e49199

Browse files
author
Tim Corringham
committed
Amend local variable naming
Trivial change to amend local variable names to follow the coding standard.
1 parent b97b80a commit 7e49199

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tools/clang/lib/CodeGen/CGHLSLMS.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2596,10 +2596,10 @@ bool CGMSHLSLRuntime::FindDispatchGridSemantic(const CXXRecordDecl *RD,
25962596
return true;
25972597
}
25982598
// Otherwise check this field for the SV_DispatchGrid semantic annotation
2599-
for (const hlsl::UnusualAnnotation *it : Field->getUnusualAnnotations()) {
2600-
if (it->getKind() == hlsl::UnusualAnnotation::UA_SemanticDecl) {
2601-
const hlsl::SemanticDecl *sd = cast<hlsl::SemanticDecl>(it);
2602-
if (sd->SemanticName.equals("SV_DispatchGrid")) {
2599+
for (const hlsl::UnusualAnnotation *UA : Field->getUnusualAnnotations()) {
2600+
if (UA->getKind() == hlsl::UnusualAnnotation::UA_SemanticDecl) {
2601+
const hlsl::SemanticDecl *SD = cast<hlsl::SemanticDecl>(UA);
2602+
if (SD->SemanticName.equals("SV_DispatchGrid")) {
26032603
const llvm::Type *FTy = CGM.getTypes().ConvertType(Field->getType());
26042604
const llvm::Type *ElTy = FTy;
26052605
SDGRec.NumComponents = 1;

0 commit comments

Comments
 (0)