@@ -137,7 +137,7 @@ class RejectReason {
137137 // / Get the Basic Block containing this remark.
138138 // /
139139 // / @return The Basic Block containing this remark.
140- virtual const Value *getRemarkBB () const = 0;
140+ virtual const BasicBlock *getRemarkBB () const = 0;
141141
142142 // / Generate a reasonable diagnostic message describing this error.
143143 // /
@@ -219,7 +219,7 @@ class ReportInvalidTerminator final : public ReportCFG {
219219 // / @name RejectReason interface
220220 // @{
221221 std::string getRemarkName () const override ;
222- const Value *getRemarkBB () const override ;
222+ const BasicBlock *getRemarkBB () const override ;
223223 std::string getMessage () const override ;
224224 const DebugLoc &getDebugLoc () const override ;
225225 // @}
@@ -243,7 +243,7 @@ class ReportIrreducibleRegion final : public ReportCFG {
243243 // / @name RejectReason interface
244244 // @{
245245 std::string getRemarkName () const override ;
246- const Value *getRemarkBB () const override ;
246+ const BasicBlock *getRemarkBB () const override ;
247247 std::string getMessage () const override ;
248248 std::string getEndUserMessage () const override ;
249249 const DebugLoc &getDebugLoc () const override ;
@@ -269,7 +269,7 @@ class ReportUnreachableInExit final : public ReportCFG {
269269 // / @name RejectReason interface
270270 // @{
271271 std::string getRemarkName () const override ;
272- const Value *getRemarkBB () const override ;
272+ const BasicBlock *getRemarkBB () const override ;
273273 std::string getMessage () const override ;
274274 std::string getEndUserMessage () const override ;
275275 const DebugLoc &getDebugLoc () const override ;
@@ -295,7 +295,7 @@ class ReportIndirectPredecessor final : public ReportCFG {
295295 // / @name RejectReason interface
296296 // @{
297297 std::string getRemarkName () const override ;
298- const Value *getRemarkBB () const override ;
298+ const BasicBlock *getRemarkBB () const override ;
299299 std::string getMessage () const override ;
300300 std::string getEndUserMessage () const override ;
301301 const DebugLoc &getDebugLoc () const override ;
@@ -344,7 +344,7 @@ class ReportUndefCond final : public ReportAffFunc {
344344 // / @name RejectReason interface
345345 // @{
346346 std::string getRemarkName () const override ;
347- const Value *getRemarkBB () const override ;
347+ const BasicBlock *getRemarkBB () const override ;
348348 std::string getMessage () const override ;
349349 // @}
350350};
@@ -369,7 +369,7 @@ class ReportInvalidCond final : public ReportAffFunc {
369369 // / @name RejectReason interface
370370 // @{
371371 std::string getRemarkName () const override ;
372- const Value *getRemarkBB () const override ;
372+ const BasicBlock *getRemarkBB () const override ;
373373 std::string getMessage () const override ;
374374 // @}
375375};
@@ -392,7 +392,7 @@ class ReportUndefOperand final : public ReportAffFunc {
392392 // / @name RejectReason interface
393393 // @{
394394 std::string getRemarkName () const override ;
395- const Value *getRemarkBB () const override ;
395+ const BasicBlock *getRemarkBB () const override ;
396396 std::string getMessage () const override ;
397397 // @}
398398};
@@ -426,7 +426,7 @@ class ReportNonAffBranch final : public ReportAffFunc {
426426 // / @name RejectReason interface
427427 // @{
428428 std::string getRemarkName () const override ;
429- const Value *getRemarkBB () const override ;
429+ const BasicBlock *getRemarkBB () const override ;
430430 std::string getMessage () const override ;
431431 // @}
432432};
@@ -446,7 +446,7 @@ class ReportNoBasePtr final : public ReportAffFunc {
446446 // / @name RejectReason interface
447447 // @{
448448 std::string getRemarkName () const override ;
449- const Value *getRemarkBB () const override ;
449+ const BasicBlock *getRemarkBB () const override ;
450450 std::string getMessage () const override ;
451451 // @}
452452};
@@ -466,7 +466,7 @@ class ReportUndefBasePtr final : public ReportAffFunc {
466466 // / @name RejectReason interface
467467 // @{
468468 std::string getRemarkName () const override ;
469- const Value *getRemarkBB () const override ;
469+ const BasicBlock *getRemarkBB () const override ;
470470 std::string getMessage () const override ;
471471 // @}
472472};
@@ -490,7 +490,7 @@ class ReportVariantBasePtr final : public ReportAffFunc {
490490 // / @name RejectReason interface
491491 // @{
492492 std::string getRemarkName () const override ;
493- const Value *getRemarkBB () const override ;
493+ const BasicBlock *getRemarkBB () const override ;
494494 std::string getMessage () const override ;
495495 std::string getEndUserMessage () const override ;
496496 // @}
@@ -521,7 +521,7 @@ class ReportNonAffineAccess final : public ReportAffFunc {
521521 // / @name RejectReason interface
522522 // @{
523523 std::string getRemarkName () const override ;
524- const Value *getRemarkBB () const override ;
524+ const BasicBlock *getRemarkBB () const override ;
525525 std::string getMessage () const override ;
526526 std::string getEndUserMessage () const override ;
527527 // @}
@@ -546,7 +546,7 @@ class ReportDifferentArrayElementSize final : public ReportAffFunc {
546546 // / @name RejectReason interface
547547 // @{
548548 std::string getRemarkName () const override ;
549- const Value *getRemarkBB () const override ;
549+ const BasicBlock *getRemarkBB () const override ;
550550 std::string getMessage () const override ;
551551 std::string getEndUserMessage () const override ;
552552 // @}
@@ -577,7 +577,7 @@ class ReportLoopBound final : public RejectReason {
577577 // / @name RejectReason interface
578578 // @{
579579 std::string getRemarkName () const override ;
580- const Value *getRemarkBB () const override ;
580+ const BasicBlock *getRemarkBB () const override ;
581581 std::string getMessage () const override ;
582582 const DebugLoc &getDebugLoc () const override ;
583583 std::string getEndUserMessage () const override ;
@@ -605,7 +605,7 @@ class ReportLoopHasNoExit final : public RejectReason {
605605 // / @name RejectReason interface
606606 // @{
607607 std::string getRemarkName () const override ;
608- const Value *getRemarkBB () const override ;
608+ const BasicBlock *getRemarkBB () const override ;
609609 std::string getMessage () const override ;
610610 const DebugLoc &getDebugLoc () const override ;
611611 std::string getEndUserMessage () const override ;
@@ -633,7 +633,7 @@ class ReportLoopHasMultipleExits final : public RejectReason {
633633 // / @name RejectReason interface
634634 // @{
635635 std::string getRemarkName () const override ;
636- const Value *getRemarkBB () const override ;
636+ const BasicBlock *getRemarkBB () const override ;
637637 std::string getMessage () const override ;
638638 const DebugLoc &getDebugLoc () const override ;
639639 std::string getEndUserMessage () const override ;
@@ -661,7 +661,7 @@ class ReportLoopOnlySomeLatches final : public RejectReason {
661661 // / @name RejectReason interface
662662 // @{
663663 std::string getRemarkName () const override ;
664- const Value *getRemarkBB () const override ;
664+ const BasicBlock *getRemarkBB () const override ;
665665 std::string getMessage () const override ;
666666 const DebugLoc &getDebugLoc () const override ;
667667 std::string getEndUserMessage () const override ;
@@ -685,7 +685,7 @@ class ReportFuncCall final : public RejectReason {
685685 // / @name RejectReason interface
686686 // @{
687687 std::string getRemarkName () const override ;
688- const Value *getRemarkBB () const override ;
688+ const BasicBlock *getRemarkBB () const override ;
689689 std::string getMessage () const override ;
690690 const DebugLoc &getDebugLoc () const override ;
691691 std::string getEndUserMessage () const override ;
@@ -724,7 +724,7 @@ class ReportAlias final : public RejectReason {
724724 // / @name RejectReason interface
725725 // @{
726726 std::string getRemarkName () const override ;
727- const Value *getRemarkBB () const override ;
727+ const BasicBlock *getRemarkBB () const override ;
728728 std::string getMessage () const override ;
729729 const DebugLoc &getDebugLoc () const override ;
730730 std::string getEndUserMessage () const override ;
@@ -766,7 +766,7 @@ class ReportIntToPtr final : public ReportOther {
766766 // / @name RejectReason interface
767767 // @{
768768 std::string getRemarkName () const override ;
769- const Value *getRemarkBB () const override ;
769+ const BasicBlock *getRemarkBB () const override ;
770770 std::string getMessage () const override ;
771771 const DebugLoc &getDebugLoc () const override ;
772772 // @}
@@ -788,7 +788,7 @@ class ReportAlloca final : public ReportOther {
788788 // / @name RejectReason interface
789789 // @{
790790 std::string getRemarkName () const override ;
791- const Value *getRemarkBB () const override ;
791+ const BasicBlock *getRemarkBB () const override ;
792792 std::string getMessage () const override ;
793793 const DebugLoc &getDebugLoc () const override ;
794794 // @}
@@ -810,7 +810,7 @@ class ReportUnknownInst final : public ReportOther {
810810 // / @name RejectReason interface
811811 // @{
812812 std::string getRemarkName () const override ;
813- const Value *getRemarkBB () const override ;
813+ const BasicBlock *getRemarkBB () const override ;
814814 std::string getMessage () const override ;
815815 const DebugLoc &getDebugLoc () const override ;
816816 // @}
@@ -832,7 +832,7 @@ class ReportEntry final : public ReportOther {
832832 // / @name RejectReason interface
833833 // @{
834834 std::string getRemarkName () const override ;
835- const Value *getRemarkBB () const override ;
835+ const BasicBlock *getRemarkBB () const override ;
836836 std::string getMessage () const override ;
837837 std::string getEndUserMessage () const override ;
838838 const DebugLoc &getDebugLoc () const override ;
@@ -855,7 +855,7 @@ class ReportUnprofitable final : public ReportOther {
855855 // / @name RejectReason interface
856856 // @{
857857 std::string getRemarkName () const override ;
858- const Value *getRemarkBB () const override ;
858+ const BasicBlock *getRemarkBB () const override ;
859859 std::string getMessage () const override ;
860860 std::string getEndUserMessage () const override ;
861861 const DebugLoc &getDebugLoc () const override ;
@@ -879,7 +879,7 @@ class ReportNonSimpleMemoryAccess final : public ReportOther {
879879 // / @name RejectReason interface
880880 // @{
881881 std::string getRemarkName () const override ;
882- const Value *getRemarkBB () const override ;
882+ const BasicBlock *getRemarkBB () const override ;
883883 std::string getMessage () const override ;
884884 const DebugLoc &getDebugLoc () const override ;
885885 std::string getEndUserMessage () const override ;
0 commit comments