Skip to content

Commit ccf539e

Browse files
committed
Apply suggestions from EugeneZelenko.
1 parent ce5553f commit ccf539e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang-tools-extra/docs/clang-tidy/checks/portability/avoid-pragma-once.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ portability-avoid-pragma-once
66
Finds uses of ``#pragma once`` and suggests replacing them with standard
77
include guards (``#ifndef``/``#define``/``#endif``) for improved portability.
88

9-
`#pragma once` is a non-standard extension, despite being widely supported
9+
``#pragma once`` is a non-standard extension, despite being widely supported
1010
by modern compilers. Relying on it can lead to portability issues in
1111
environments.
1212

1313
Some older or specialized C/C++ compilers, particularly in embedded systems,
14-
may not fully support #pragma once.
14+
may not fully support ``#pragma once``.
1515

1616
Also it can fail in certain file system configurations,like network drives
1717
or complex symbolic links, potentially leading to compilation issues.

0 commit comments

Comments
 (0)