@@ -67,8 +67,8 @@ enum BlockIDs {
6767 REMARK_BLOCK_ID
6868};
6969
70- constexpr StringRef MetaBlockName = StringRef (" Meta" , 4 );
71- constexpr StringRef RemarkBlockName = StringRef (" Remark" , 6 );
70+ constexpr StringLiteral MetaBlockName (" Meta" );
71+ constexpr StringLiteral RemarkBlockName (" Remark" );
7272
7373// / The possible records that can be encountered in the previously described
7474// / blocks.
@@ -89,16 +89,16 @@ enum RecordIDs {
8989 RECORD_LAST = RECORD_REMARK_ARG_WITHOUT_DEBUGLOC
9090};
9191
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" );
102102
103103} // end namespace remarks
104104} // end namespace llvm
0 commit comments