mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +00:00
Switch some functions to take Twines, eliminate uses of StringExtras.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93680 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -53,6 +53,7 @@ namespace llvm {
|
||||
class Mangler;
|
||||
class MCAsmInfo;
|
||||
class TargetLoweringObjectFile;
|
||||
class Twine;
|
||||
class Type;
|
||||
class formatted_raw_ostream;
|
||||
|
||||
@ -262,14 +263,13 @@ namespace llvm {
|
||||
|
||||
/// PrintHex - Print a value as a hexidecimal value.
|
||||
///
|
||||
void PrintHex(int Value) const;
|
||||
void PrintHex(uint64_t Value) const;
|
||||
|
||||
/// EOL - Print a newline character to asm stream. If a comment is present
|
||||
/// then it will be printed first. Comments should not contain '\n'.
|
||||
void EOL() const;
|
||||
void EOL(const std::string &Comment) const;
|
||||
void EOL(const char* Comment) const;
|
||||
void EOL(const char *Comment, unsigned Encoding) const;
|
||||
void EOL(const Twine &Comment) const;
|
||||
void EOL(const Twine &Comment, unsigned Encoding) const;
|
||||
|
||||
/// EmitULEB128Bytes - Emit an assembler byte data directive to compose an
|
||||
/// unsigned leb128 value.
|
||||
@ -302,7 +302,7 @@ namespace llvm {
|
||||
void EmitString(const char *String, unsigned Size) const;
|
||||
|
||||
/// EmitFile - Emit a .file directive.
|
||||
void EmitFile(unsigned Number, const std::string &Name) const;
|
||||
void EmitFile(unsigned Number, StringRef Name) const;
|
||||
|
||||
//===------------------------------------------------------------------===//
|
||||
|
||||
|
Reference in New Issue
Block a user