@@ -67,8 +67,8 @@ enum BlockIDs {
67
67
REMARK_BLOCK_ID
68
68
};
69
69
70
- constexpr StringRef MetaBlockName = StringRef (" Meta" , 4 );
71
- constexpr StringRef RemarkBlockName = StringRef (" Remark" , 6 );
70
+ constexpr StringLiteral MetaBlockName (" Meta" );
71
+ constexpr StringLiteral RemarkBlockName (" Remark" );
72
72
73
73
// / The possible records that can be encountered in the previously described
74
74
// / blocks.
@@ -89,16 +89,16 @@ enum RecordIDs {
89
89
RECORD_LAST = RECORD_REMARK_ARG_WITHOUT_DEBUGLOC
90
90
};
91
91
92
- constexpr StringRef MetaContainerInfoName = StringRef (" Container info" , 14 );
93
- constexpr StringRef MetaRemarkVersionName = StringRef (" Remark version" , 14 );
94
- constexpr StringRef MetaStrTabName = StringRef (" String table" , 12 );
95
- constexpr StringRef MetaExternalFileName = StringRef (" External File" , 13 );
96
- constexpr StringRef RemarkHeaderName = StringRef (" Remark header" , 13 );
97
- constexpr StringRef RemarkDebugLocName = StringRef (" Remark debug location" , 21 );
98
- constexpr StringRef RemarkHotnessName = StringRef (" Remark hotness" , 14 );
99
- constexpr StringRef RemarkArgWithDebugLocName =
100
- StringRef (" Argument with debug location" , 28 );
101
- constexpr StringRef RemarkArgWithoutDebugLocName = StringRef (" Argument" , 8 );
92
+ constexpr StringLiteral MetaContainerInfoName (" Container info" );
93
+ constexpr StringLiteral MetaRemarkVersionName (" Remark version" );
94
+ constexpr StringLiteral MetaStrTabName (" String table" );
95
+ constexpr StringLiteral MetaExternalFileName (" External File" );
96
+ constexpr StringLiteral RemarkHeaderName (" Remark header" );
97
+ constexpr StringLiteral RemarkDebugLocName (" Remark debug location" );
98
+ constexpr StringLiteral RemarkHotnessName (" Remark hotness" );
99
+ constexpr StringLiteral
100
+ RemarkArgWithDebugLocName (" Argument with debug location" );
101
+ constexpr StringLiteral RemarkArgWithoutDebugLocName (" Argument" );
102
102
103
103
} // end namespace remarks
104
104
} // end namespace llvm
0 commit comments