We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fc68db commit 9b7a357Copy full SHA for 9b7a357
tools/clang/lib/Sema/SemaHLSLDiagnoseTU.cpp
@@ -373,7 +373,7 @@ class HLSLCallDiagnoseVisitor
373
dyn_cast<DeclRefExpr>(callExpr->getImplicitObjectArgument());
374
assert(DRE);
375
QualType QT = DRE->getType();
376
- auto typeRecordDecl = QT->getAsCXXRecordDecl();
+ auto *typeRecordDecl = QT->getAsCXXRecordDecl();
377
ClassTemplateSpecializationDecl *SpecDecl =
378
llvm::dyn_cast<ClassTemplateSpecializationDecl>(typeRecordDecl);
379
0 commit comments