Skip to content

Commit 8e19b88

Browse files
Erich KeaneAaronBallman
andauthored
Update clang/lib/Sema/SemaSYCL.cpp
Co-authored-by: Aaron Ballman <[email protected]>
1 parent 1d658c4 commit 8e19b88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaSYCL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4385,7 +4385,7 @@ class SYCLFwdDeclEmitter
43854385
while (DC) {
43864386
if (const auto *NS = dyn_cast<NamespaceDecl>(DC)) {
43874387
++NamespaceCnt;
4388-
const StringRef NSInlinePrefix = NS->isInline() ? "inline " : "";
4388+
StringRef NSInlinePrefix = NS->isInline() ? "inline " : "";
43894389
NSStr.insert(
43904390
0,
43914391
Twine(NSInlinePrefix + "namespace " + NS->getName() + " { ").str());

0 commit comments

Comments
 (0)