No functional changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220922
91177308-0d34-0410-b5e6-
96231b3b80d8
/// \brief Report a parse error message.
void reportParseError(int64_t LineNumber, Twine Msg) const {
- DiagnosticInfoSampleProfile Diag(Buffer->getBufferIdentifier(), LineNumber,
- Msg);
- Ctx.diagnose(Diag);
+ Ctx.diagnose(DiagnosticInfoSampleProfile(Buffer->getBufferIdentifier(),
+ LineNumber, Msg));
}
/// \brief Create a sample profile reader appropriate to the file format.
} // End namespace sampleprof
-} // End namespace sampleprof
+} // End namespace llvm
#endif // LLVM_PROFILEDATA_SAMPLEPROFWRITER_H