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 3d26c97 commit fab3c1bCopy full SHA for fab3c1b
clang/include/clang/AST/Type.h
@@ -480,8 +480,8 @@ class Qualifiers {
480
// Otherwise in OpenCLC v2.0 s6.5.5: every address space except
481
// for __constant can be used as __generic.
482
(A == LangAS::opencl_generic && B != LangAS::opencl_constant) ||
483
- // For USM extension we define usm_device and usm_host addres spaces,
484
- // which are a subset of __global.
+ // For USM extension we define usm_device and usm_host address
+ // spaces, which are a subset of __global.
485
(A == LangAS::opencl_global &&
486
(B == LangAS::opencl_usm_device || B == LangAS::opencl_usm_host)) ||
487
// Consider pointer size address spaces to be equivalent to default.
0 commit comments