mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-03 00:33:09 +00:00
Don't use identifiers that start with an underscore followed
by a capital letter, which invokes undefined behavior. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83206 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9c091a4846
commit
835b142edd
@ -49,8 +49,8 @@ namespace llvm {
|
||||
: Data(Str) { if (Str) Length = ::strlen(Str); else Length = 0; }
|
||||
|
||||
/// Construct a string ref from a pointer and length.
|
||||
/*implicit*/ StringRef(const char *_Data, unsigned _Length)
|
||||
: Data(_Data), Length(_Length) {}
|
||||
/*implicit*/ StringRef(const char *data, unsigned length)
|
||||
: Data(data), Length(length) {}
|
||||
|
||||
/// Construct a string ref from an std::string.
|
||||
/*implicit*/ StringRef(const std::string &Str)
|
||||
|
Loading…
x
Reference in New Issue
Block a user