We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb03279 commit cc7aef9Copy full SHA for cc7aef9
clang/lib/Sema/SemaHLSL.cpp
@@ -650,7 +650,10 @@ class DiagnoseHLSLAvailability
650
bool HasMatchingEnvironmentOrNone(const AvailabilityAttr *AA);
651
652
public:
653
- DiagnoseHLSLAvailability(Sema &SemaRef) : SemaRef(SemaRef) {}
+ DiagnoseHLSLAvailability(Sema &SemaRef)
654
+ : SemaRef(SemaRef),
655
+ CurrentShaderEnvironment(llvm::Triple::UnknownEnvironment),
656
+ CurrentShaderStageBit(0), ReportOnlyShaderStageIssues(false) {}
657
658
// AST traversal methods
659
void RunOnTranslationUnit(const TranslationUnitDecl *TU);
0 commit comments