@@ -371,7 +371,7 @@ class SPIRVDecorationGroup : public SPIRVEntry {
371
371
SPIRVDecorationGroup (SPIRVModule *TheModule, SPIRVId TheId)
372
372
: SPIRVEntry(TheModule, WC, OC, TheId) {
373
373
validate ();
374
- };
374
+ }
375
375
// Incomplete constructor
376
376
SPIRVDecorationGroup () : SPIRVEntry(OC) {}
377
377
void encodeAll (spv_ostream &O) const override ;
@@ -631,12 +631,12 @@ class SPIRVDecorateFunctionRoundingModeINTEL : public SPIRVDecorate {
631
631
SPIRVWord TargetWidth,
632
632
spv::FPRoundingMode FloatControl)
633
633
: SPIRVDecorate(spv::DecorationFunctionRoundingModeINTEL, TheTarget,
634
- TargetWidth, static_cast <SPIRVWord>(FloatControl)){};
634
+ TargetWidth, static_cast <SPIRVWord>(FloatControl)) {}
635
635
636
- SPIRVWord getTargetWidth () const { return Literals.at (0 ); };
636
+ SPIRVWord getTargetWidth () const { return Literals.at (0 ); }
637
637
spv::FPRoundingMode getRoundingMode () const {
638
638
return static_cast <spv::FPRoundingMode>(Literals.at (1 ));
639
- };
639
+ }
640
640
};
641
641
642
642
class SPIRVDecorateFunctionDenormModeINTEL : public SPIRVDecorate {
@@ -646,12 +646,12 @@ class SPIRVDecorateFunctionDenormModeINTEL : public SPIRVDecorate {
646
646
SPIRVWord TargetWidth,
647
647
spv::FPDenormMode FloatControl)
648
648
: SPIRVDecorate(spv::DecorationFunctionDenormModeINTEL, TheTarget,
649
- TargetWidth, static_cast <SPIRVWord>(FloatControl)){};
649
+ TargetWidth, static_cast <SPIRVWord>(FloatControl)) {}
650
650
651
- SPIRVWord getTargetWidth () const { return Literals.at (0 ); };
651
+ SPIRVWord getTargetWidth () const { return Literals.at (0 ); }
652
652
spv::FPDenormMode getDenormMode () const {
653
653
return static_cast <spv::FPDenormMode>(Literals.at (1 ));
654
- };
654
+ }
655
655
};
656
656
657
657
class SPIRVDecorateFunctionFloatingPointModeINTEL : public SPIRVDecorate {
@@ -661,19 +661,19 @@ class SPIRVDecorateFunctionFloatingPointModeINTEL : public SPIRVDecorate {
661
661
SPIRVWord TargetWidth,
662
662
spv::FPOperationMode FloatControl)
663
663
: SPIRVDecorate(spv::DecorationFunctionFloatingPointModeINTEL, TheTarget,
664
- TargetWidth, static_cast <SPIRVWord>(FloatControl)){};
664
+ TargetWidth, static_cast <SPIRVWord>(FloatControl)) {}
665
665
666
- SPIRVWord getTargetWidth () const { return Literals.at (0 ); };
666
+ SPIRVWord getTargetWidth () const { return Literals.at (0 ); }
667
667
spv::FPOperationMode getOperationMode () const {
668
668
return static_cast <spv::FPOperationMode>(Literals.at (1 ));
669
- };
669
+ }
670
670
};
671
671
672
672
class SPIRVDecorateStallEnableINTEL : public SPIRVDecorate {
673
673
public:
674
674
// Complete constructor for SPIRVDecorateStallEnableINTEL
675
675
SPIRVDecorateStallEnableINTEL (SPIRVEntry *TheTarget)
676
- : SPIRVDecorate(spv::DecorationStallEnableINTEL, TheTarget){};
676
+ : SPIRVDecorate(spv::DecorationStallEnableINTEL, TheTarget) {}
677
677
};
678
678
679
679
class SPIRVDecorateFuseLoopsInFunctionINTEL : public SPIRVDecorate {
@@ -682,7 +682,7 @@ class SPIRVDecorateFuseLoopsInFunctionINTEL : public SPIRVDecorate {
682
682
SPIRVDecorateFuseLoopsInFunctionINTEL (SPIRVEntry *TheTarget, SPIRVWord Depth,
683
683
SPIRVWord Independent)
684
684
: SPIRVDecorate(spv::DecorationFuseLoopsInFunctionINTEL, TheTarget, Depth,
685
- Independent){};
685
+ Independent) {}
686
686
};
687
687
688
688
class SPIRVDecorateMathOpDSPModeINTEL : public SPIRVDecorate {
@@ -691,44 +691,44 @@ class SPIRVDecorateMathOpDSPModeINTEL : public SPIRVDecorate {
691
691
SPIRVDecorateMathOpDSPModeINTEL (SPIRVEntry *TheTarget, SPIRVWord Mode,
692
692
SPIRVWord Propagate)
693
693
: SPIRVDecorate(spv::DecorationMathOpDSPModeINTEL, TheTarget, Mode,
694
- Propagate){};
694
+ Propagate) {}
695
695
};
696
696
697
697
class SPIRVDecorateAliasScopeINTEL : public SPIRVDecorateId {
698
698
public:
699
699
// Complete constructor for SPIRVDecorateAliasScopeINTEL
700
700
SPIRVDecorateAliasScopeINTEL (SPIRVEntry *TheTarget, SPIRVId AliasList)
701
- : SPIRVDecorateId(spv::DecorationAliasScopeINTEL, TheTarget, AliasList){};
701
+ : SPIRVDecorateId(spv::DecorationAliasScopeINTEL, TheTarget, AliasList) {}
702
702
};
703
703
704
704
class SPIRVDecorateNoAliasINTEL : public SPIRVDecorateId {
705
705
public:
706
706
// Complete constructor for SPIRVDecorateNoAliasINTEL
707
707
SPIRVDecorateNoAliasINTEL (SPIRVEntry *TheTarget, SPIRVId AliasList)
708
- : SPIRVDecorateId(spv::DecorationNoAliasINTEL, TheTarget, AliasList){};
708
+ : SPIRVDecorateId(spv::DecorationNoAliasINTEL, TheTarget, AliasList) {}
709
709
};
710
710
711
711
class SPIRVDecorateInitiationIntervalINTEL : public SPIRVDecorate {
712
712
public:
713
713
// Complete constructor for SPIRVDecorateInitiationIntervalINTEL
714
714
SPIRVDecorateInitiationIntervalINTEL (SPIRVEntry *TheTarget, SPIRVWord Cycles)
715
715
: SPIRVDecorate(spv::DecorationInitiationIntervalINTEL, TheTarget,
716
- Cycles){};
716
+ Cycles) {}
717
717
};
718
718
719
719
class SPIRVDecorateMaxConcurrencyINTEL : public SPIRVDecorate {
720
720
public:
721
721
// Complete constructor for SPIRVDecorateMaxConcurrencyINTEL
722
722
SPIRVDecorateMaxConcurrencyINTEL (SPIRVEntry *TheTarget, SPIRVWord Invocations)
723
723
: SPIRVDecorate(spv::DecorationMaxConcurrencyINTEL, TheTarget,
724
- Invocations){};
724
+ Invocations) {}
725
725
};
726
726
727
727
class SPIRVDecoratePipelineEnableINTEL : public SPIRVDecorate {
728
728
public:
729
729
// Complete constructor for SPIRVDecoratePipelineEnableINTEL
730
730
SPIRVDecoratePipelineEnableINTEL (SPIRVEntry *TheTarget, SPIRVWord Enable)
731
- : SPIRVDecorate(spv::DecorationPipelineEnableINTEL, TheTarget, Enable){};
731
+ : SPIRVDecorate(spv::DecorationPipelineEnableINTEL, TheTarget, Enable) {}
732
732
};
733
733
734
734
class SPIRVDecorateHostAccessINTEL : public SPIRVDecorate {
@@ -741,7 +741,7 @@ class SPIRVDecorateHostAccessINTEL : public SPIRVDecorate {
741
741
for (auto &I : getVec (VarName))
742
742
Literals.push_back (I);
743
743
WordCount += Literals.size ();
744
- };
744
+ }
745
745
746
746
SPIRVWord getAccessMode () const { return Literals.front (); }
747
747
std::string getVarName () const {
@@ -783,15 +783,15 @@ class SPIRVDecorateInitModeINTEL : public SPIRVDecorate {
783
783
// Complete constructor for SPIRVInitModeINTEL
784
784
SPIRVDecorateInitModeINTEL (SPIRVEntry *TheTarget, SPIRVWord Trigger)
785
785
: SPIRVDecorate(spv::internal::DecorationInitModeINTEL, TheTarget,
786
- Trigger){};
786
+ Trigger) {}
787
787
};
788
788
789
789
class SPIRVDecorateImplementInCSRINTEL : public SPIRVDecorate {
790
790
public:
791
791
// Complete constructor for SPIRVImplementInCSRINTEL
792
792
SPIRVDecorateImplementInCSRINTEL (SPIRVEntry *TheTarget, SPIRVWord Value)
793
793
: SPIRVDecorate(spv::internal::DecorationImplementInCSRINTEL, TheTarget,
794
- Value){};
794
+ Value) {}
795
795
};
796
796
797
797
} // namespace SPIRV
0 commit comments