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 2ae8d89 commit 8e704d9Copy full SHA for 8e704d9
clang/include/clang/AST/Type.h
@@ -481,7 +481,7 @@ class Qualifiers {
481
// for __constant can be used as __generic.
482
(A == LangAS::opencl_generic && B != LangAS::opencl_constant) ||
483
// We also define global_device and global_host address spaces,
484
- // to distinguish global pointers allocated on host to pointers
+ // to distinguish global pointers allocated on host from pointers
485
// allocated on device, which are a subset of __global.
486
// FIXME: add a reference to spec when ready
487
(A == LangAS::opencl_global && (B == LangAS::opencl_global_device ||
0 commit comments