MCContext &getContext() const { return Context; }
- /// addComment - Add a comment that can be emitted to the generated .s
+ /// AddComment - Add a comment that can be emitted to the generated .s
/// file if applicable as a QoI issue to make the output of the compiler
/// more readable. This only affects the MCAsmStreamer, and only when
/// verbose assembly output is enabled.
///
/// If the comment includes embedded \n's, they will each get the comment
/// prefix as appropriate. The added comment should not end with a \n.
- virtual void addComment(const Twine &T) {}
+ virtual void AddComment(const Twine &T) {}
/// @name Symbol & Section Management
/// @{
raw_svector_ostream OS(TmpBuffer);
double Val = CFP->getValueAPF().convertToDouble(); // for comment only
OS << "double " << Val;
- AP.OutStreamer.addComment(OS.str());
+ AP.OutStreamer.AddComment(OS.str());
}
uint64_t Val = CFP->getValueAPF().bitcastToAPInt().getZExtValue();
}
void EmitCommentsAndEOL();
- /// addComment - Add a comment that can be emitted to the generated .s
+ /// AddComment - Add a comment that can be emitted to the generated .s
/// file if applicable as a QoI issue to make the output of the compiler
/// more readable. This only affects the MCAsmStreamer, and only when
/// verbose assembly output is enabled.
- virtual void addComment(const Twine &T);
+ virtual void AddComment(const Twine &T);
/// @name MCStreamer Interface
/// @{
} // end anonymous namespace.
-/// addComment - Add a comment that can be emitted to the generated .s
+/// AddComment - Add a comment that can be emitted to the generated .s
/// file if applicable as a QoI issue to make the output of the compiler
/// more readable. This only affects the MCAsmStreamer, and only when
/// verbose assembly output is enabled.
-void MCAsmStreamer::addComment(const Twine &T) {
+void MCAsmStreamer::AddComment(const Twine &T) {
if (!IsVerboseAsm) return;
// Each comment goes on its own line.
if (!CommentToEmit.empty())