mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[Remarks][NFC] Use StringLiteral for magic numbers
llvm-svn: 371869
This commit is contained in:
parent
3c5cb2961b
commit
4ecd14c20f
@ -25,7 +25,7 @@ namespace remarks {
|
||||
/// Note: this is different from the version of the remark entry.
|
||||
constexpr uint64_t CurrentContainerVersion = 0;
|
||||
/// The magic number used for identifying remark blocks.
|
||||
constexpr StringRef ContainerMagic("RMRK", 4);
|
||||
constexpr StringLiteral ContainerMagic("RMRK");
|
||||
|
||||
/// Type of the remark container.
|
||||
/// The remark container has two modes:
|
||||
|
@ -19,7 +19,7 @@
|
||||
namespace llvm {
|
||||
namespace remarks {
|
||||
|
||||
constexpr StringRef Magic("REMARKS", 7);
|
||||
constexpr StringLiteral Magic("REMARKS");
|
||||
|
||||
/// The format used for serializing/deserializing remarks.
|
||||
enum class Format { Unknown, YAML, YAMLStrTab, Bitstream };
|
||||
|
Loading…
x
Reference in New Issue
Block a user