We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c15be6 commit 6555674Copy full SHA for 6555674
lib/Interpreter/ForwardDeclPrinter.cpp
@@ -192,7 +192,7 @@ namespace cling {
192
// FIXME: Once the C++ modules replaced the forward decls, remove this.
193
if (D->getASTContext().getLangOpts().Modules &&
194
llvm::StringRef(includeText).starts_with("include ")) {
195
- includeText += strlen("include ");
+ includeText += std::char_traits<char>::length("include ");
196
}
197
198
assert((includeText[0] == '<' || includeText[0] == '"') &&
0 commit comments