Skip to content

Commit 39c89f3

Browse files
committed
Apply suggestions
1 parent e702e9b commit 39c89f3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sycl/doc/ControllingSYCLLanguageFeatures.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ standard version is less than minimum required by SYCL/DPC++ standard.
4242

4343
`-std=<value>`, `--std=<value>`, `--std <value>`
4444

45-
One more way to specify SYCL/DPC++ standard version is to use general clang
46-
option which allows to specify language standard to compile for.
45+
One more way to specify SYCL/DPC++ standard version is to use a general clang
46+
option, which allows to specify language standard to compile for.
4747

4848
Supported values (besides listed in clang documentation/help):
4949

@@ -55,9 +55,9 @@ implies some C++ standard version to be set, according to requirements of
5555
corresponding SYCL/DPC++ specification. For example, for SYCL 1.2.1 it would be
5656
at least C++11, while for DPC++ 0.8 it would be C++17.
5757

58-
Please note that if you specify `-std` flag several times, only the latest
59-
value takes effect. This means, that if you want to specifiy particular C++
60-
standard version instead of some default one implied by SYCL/DPC++ standard,
58+
Please note that if you specify `-std` flag several times, only the last
59+
value takes effect. This means, that if you want to specify a particular C++
60+
standard version instead of some default one implied by the SYCL/DPC++ standard,
6161
you have to use two separate options: `-sycl-std` and `-std`.
6262

6363
**TODO**. Please let me know if we don't want to go with this approach at all.

0 commit comments

Comments
 (0)