forked from OSchip/llvm-project
Fix comment spelling and tidy diagnostic call in profile reader.
No functional changes. llvm-svn: 220922
This commit is contained in:
parent
c19cf1d424
commit
047d5d1a0a
|
@ -86,9 +86,8 @@ public:
|
|||
|
||||
/// \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.
|
||||
|
|
|
@ -77,6 +77,6 @@ public:
|
|||
|
||||
} // End namespace sampleprof
|
||||
|
||||
} // End namespace sampleprof
|
||||
} // End namespace llvm
|
||||
|
||||
#endif // LLVM_PROFILEDATA_SAMPLEPROFWRITER_H
|
||||
|
|
Loading…
Reference in New Issue