[PATCH] D114080: [SYCL] Diagnose uses of zero length arrays
Mariya Podchishchaeva via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 29 07:00:56 PST 2021
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())
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114080.390346.patch
Type: text/x-patch
Size: 583 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211129/4cf9ea01/attachment.bin>
More information about the cfe-commits
mailing list