Skip to content

Commit c985a1a

Browse files
benwu25hstk30-hw
andauthored
[clang] Fix typo in comment (llvm#156962)
Fixes what is presumably a typo in a comment in `builtinIsSupported`. Co-authored-by: hstk30-hw <[email protected]>
1 parent 1455b3c commit c985a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Basic/Builtins.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ static bool builtinIsSupported(const llvm::StringTable &Strings,
165165
/* OpenCLC Unsupported */
166166
if (!LangOpts.OpenCL && (BuiltinInfo.Langs & ALL_OCL_LANGUAGES))
167167
return false;
168-
/* OopenCL GAS Unsupported */
168+
/* OpenCL GAS Unsupported */
169169
if (!LangOpts.OpenCLGenericAddressSpace && (BuiltinInfo.Langs & OCL_GAS))
170170
return false;
171171
/* OpenCL Pipe Unsupported */

0 commit comments

Comments
 (0)