We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52b033b commit bb08257Copy full SHA for bb08257
llvm/tools/llvm-mca/llvm-mca.cpp
@@ -191,7 +191,7 @@ class MCACommentConsumer : public AsmCommentConsumer {
191
// Skip spaces and tabs
192
Position = Comment.find_first_not_of(" \t");
193
if (Position < Comment.size())
194
- Comment.drop_front(Position);
+ Comment = Comment.drop_front(Position);
195
// Use the rest of the string as a descriptor for this code snippet.
196
Regions.beginRegion(Comment, Loc);
197
}
0 commit comments