mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
Fix comment spelling and tidy diagnostic call in profile reader.
No functional changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220922 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -86,9 +86,8 @@ public:
|
|||||||
|
|
||||||
/// \brief Report a parse error message.
|
/// \brief Report a parse error message.
|
||||||
void reportParseError(int64_t LineNumber, Twine Msg) const {
|
void reportParseError(int64_t LineNumber, Twine Msg) const {
|
||||||
DiagnosticInfoSampleProfile Diag(Buffer->getBufferIdentifier(), LineNumber,
|
Ctx.diagnose(DiagnosticInfoSampleProfile(Buffer->getBufferIdentifier(),
|
||||||
Msg);
|
LineNumber, Msg));
|
||||||
Ctx.diagnose(Diag);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// \brief Create a sample profile reader appropriate to the file format.
|
/// \brief Create a sample profile reader appropriate to the file format.
|
||||||
|
@@ -77,6 +77,6 @@ public:
|
|||||||
|
|
||||||
} // End namespace sampleprof
|
} // End namespace sampleprof
|
||||||
|
|
||||||
} // End namespace sampleprof
|
} // End namespace llvm
|
||||||
|
|
||||||
#endif // LLVM_PROFILEDATA_SAMPLEPROFWRITER_H
|
#endif // LLVM_PROFILEDATA_SAMPLEPROFWRITER_H
|
||||||
|
Reference in New Issue
Block a user