Skip to content

Commit 114b1dd

Browse files
baderpremanandrao
andauthored
Apply suggestions from code review
Co-authored-by: premanandrao <[email protected]>
1 parent 3b50946 commit 114b1dd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clang/include/clang/Sema/ParsedAttr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ class ParsedAttr final
632632
/// a Spelling enumeration, the value UINT_MAX is returned.
633633
unsigned getSemanticSpelling() const;
634634

635-
/// If this is an OpenCL address space attribute returns its representation
635+
/// If this is an OpenCL address space attribute, returns its representation
636636
/// in LangAS, otherwise returns default address space.
637637
LangAS asOpenCLLangAS() const {
638638
switch (getParsedKind()) {
@@ -655,7 +655,7 @@ class ParsedAttr final
655655
}
656656
}
657657

658-
/// If this is an OpenCL address space attribute returns its SYCL
658+
/// If this is an OpenCL address space attribute, returns its SYCL
659659
/// representation in LangAS, otherwise returns default address space.
660660
LangAS asSYCLLangAS() const {
661661
switch (getKind()) {

clang/lib/Basic/Targets/SPIR.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class LLVM_LIBRARY_VISIBILITY SPIRTargetInfo : public TargetInfo {
137137
// to be pointing to the generic address space. See section 5.9.3 of
138138
// SYCL 2020 specification.
139139
// Currently, there is no way of representing SYCL's default address space
140-
// language semantic along with the semantics of embedded C's default
140+
// language semantics along with the semantics of embedded C's default
141141
// address space in the same address space map. Hence the map needs to be
142142
// reset to allow mapping to the desired value of 'Default' entry for SYCL.
143143
setAddressSpaceMap(/*DefaultIsGeneric=*/Opts.SYCLIsDevice);

0 commit comments

Comments
 (0)