@@ -373,7 +373,9 @@ bool ReportNonAffBranch::classof(const RejectReason *RR) {
373373
374374std::string ReportNoBasePtr::getRemarkName () const { return " NoBasePtr" ; }
375375
376- const BasicBlock *ReportNoBasePtr::getRemarkBB () const { return Inst->getParent (); }
376+ const BasicBlock *ReportNoBasePtr::getRemarkBB () const {
377+ return Inst->getParent ();
378+ }
377379
378380std::string ReportNoBasePtr::getMessage () const { return " No base pointer" ; }
379381
@@ -482,7 +484,9 @@ ReportLoopBound::ReportLoopBound(Loop *L, const SCEV *LoopCount)
482484
483485std::string ReportLoopBound::getRemarkName () const { return " LoopBound" ; }
484486
485- const BasicBlock *ReportLoopBound::getRemarkBB () const { return L->getHeader (); }
487+ const BasicBlock *ReportLoopBound::getRemarkBB () const {
488+ return L->getHeader ();
489+ }
486490
487491std::string ReportLoopBound::getMessage () const {
488492 return " Non affine loop bound '" + *LoopCount +
@@ -506,7 +510,9 @@ std::string ReportLoopHasNoExit::getRemarkName() const {
506510 return " LoopHasNoExit" ;
507511}
508512
509- const BasicBlock *ReportLoopHasNoExit::getRemarkBB () const { return L->getHeader (); }
513+ const BasicBlock *ReportLoopHasNoExit::getRemarkBB () const {
514+ return L->getHeader ();
515+ }
510516
511517std::string ReportLoopHasNoExit::getMessage () const {
512518 return " Loop " + L->getHeader ()->getName () + " has no exit." ;
@@ -582,7 +588,9 @@ ReportFuncCall::ReportFuncCall(Instruction *Inst)
582588
583589std::string ReportFuncCall::getRemarkName () const { return " FuncCall" ; }
584590
585- const BasicBlock *ReportFuncCall::getRemarkBB () const { return Inst->getParent (); }
591+ const BasicBlock *ReportFuncCall::getRemarkBB () const {
592+ return Inst->getParent ();
593+ }
586594
587595std::string ReportFuncCall::getMessage () const {
588596 return " Call instruction: " + *Inst;
@@ -735,7 +743,9 @@ ReportAlloca::ReportAlloca(Instruction *Inst)
735743
736744std::string ReportAlloca::getRemarkName () const { return " Alloca" ; }
737745
738- const BasicBlock *ReportAlloca::getRemarkBB () const { return Inst->getParent (); }
746+ const BasicBlock *ReportAlloca::getRemarkBB () const {
747+ return Inst->getParent ();
748+ }
739749
740750std::string ReportAlloca::getMessage () const {
741751 return " Alloca instruction: " + *Inst;
@@ -807,7 +817,9 @@ ReportUnprofitable::ReportUnprofitable(Region *R)
807817
808818std::string ReportUnprofitable::getRemarkName () const { return " Unprofitable" ; }
809819
810- const BasicBlock *ReportUnprofitable::getRemarkBB () const { return R->getEntry (); }
820+ const BasicBlock *ReportUnprofitable::getRemarkBB () const {
821+ return R->getEntry ();
822+ }
811823
812824std::string ReportUnprofitable::getMessage () const {
813825 return " Region can not profitably be optimized!" ;
0 commit comments