Skip to content

Commit d2902b9

Browse files
committed
Fixing a typo and shortening the wording a bit.
1 parent bc9047e commit d2902b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Frontend/InitPreprocessor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,8 +1109,8 @@ static void InitializePredefinedMacros(const TargetInfo &TI,
11091109
// wide. See C23 6.2.6.2p2 for the rules in C. Note that
11101110
// C++23 [basic.fundamental]p10 allows an implementation-defined value
11111111
// representation for bool; when lowing to LLVM, Clang represents bool as an
1112-
// i8 in memory but as an i1 needing the value, so '1' is also correct for
1113-
// C++ for our implementation.
1112+
// i8 in memory but as an i1 when the value is needed, so '1' is also correct
1113+
// for C++.
11141114
Builder.defineMacro("__BOOL_WIDTH__", "1");
11151115
Builder.defineMacro("__SHRT_WIDTH__", Twine(TI.getShortWidth()));
11161116
Builder.defineMacro("__INT_WIDTH__", Twine(TI.getIntWidth()));

0 commit comments

Comments
 (0)