Fznamznon updated this revision to Diff 390346.
Fznamznon marked an inline comment as done.
Fznamznon added a comment.
Apply suggestion from @bader
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114080/new/
https://reviews.llvm.org/D114080
Files:
clang/lib/Sema/SemaSYCL.cpp
Index: clang/lib/Sema/SemaSYCL.cpp
===================================================================
--- clang/lib/Sema/SemaSYCL.cpp
+++ clang/lib/Sema/SemaSYCL.cpp
@@ -122,8 +122,8 @@
NeedToEmitNotes = false;
}
- // In case pointer/array/reference type is met get pointeetype, then
proceed
- // with that type.
+ // In case pointer/array/reference type is met get pointee type, then
+ // proceed with that type.
while (NextTy->isAnyPointerType() || NextTy->isArrayType() ||
NextTy->isReferenceType()) {
if (NextTy->isArrayType())
Index: clang/lib/Sema/SemaSYCL.cpp
===================================================================
--- clang/lib/Sema/SemaSYCL.cpp
+++ clang/lib/Sema/SemaSYCL.cpp
@@ -122,8 +122,8 @@
NeedToEmitNotes = false;
}
- // In case pointer/array/reference type is met get pointeetype, then proceed
- // with that type.
+ // In case pointer/array/reference type is met get pointee type, then
+ // proceed with that type.
while (NextTy->isAnyPointerType() || NextTy->isArrayType() ||
NextTy->isReferenceType()) {
if (NextTy->isArrayType())
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits