llvm.org GIT mirror llvm / 8f9dd89
MachineOptimizationRemarkEmitter.h: Appease g++-4.8.2. See also rL313715. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315527 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
174174 if (MF.getFunction()->getContext().getDiagnosticsOutputFile() ||
175175 MF.getFunction()->getContext().getDiagHandlerPtr()->isAnyRemarkEnabled()) {
176176 auto R = RemarkBuilder();
177 emit(R);
177 emit((DiagnosticInfoOptimizationBase &)R);
178178 }
179179 }
180180