Skip to content

Commit 9607023

Browse files
Update clang/lib/Frontend/InitPreprocessor.cpp
Co-authored-by: Timm Baeder <[email protected]>
1 parent d2902b9 commit 9607023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Frontend/InitPreprocessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@ static void InitializePredefinedMacros(const TargetInfo &TI,
11081108
// getBoolWidth() will return. The bool/_Bool data type is only ever one bit
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
1111-
// representation for bool; when lowing to LLVM, Clang represents bool as an
1111+
// representation for bool; when lowering to LLVM, Clang represents bool as an
11121112
// i8 in memory but as an i1 when the value is needed, so '1' is also correct
11131113
// for C++.
11141114
Builder.defineMacro("__BOOL_WIDTH__", "1");

0 commit comments

Comments
 (0)