Skip to content

Commit 939f2f4

Browse files
authored
Update FormatToken.cpp
Removed `byte` and added `intptr_t`/`uintptr_t`.
1 parent 7728fc5 commit 939f2f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Format/FormatToken.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ const char *getTokenTypeName(TokenType Type) {
3636

3737
// Sorted common C++ non-keyword types.
3838
static SmallVector<StringRef> CppNonKeywordTypes = {
39-
"byte", "int16_t", "int32_t", "int64_t", "int8_t",
40-
"size_t", "uint16_t", "uint32_t", "uint64_t", "uint8_t",
39+
"int16_t", "int32_t", "int64_t", "int8_t", "intptr_t", "size_t",
40+
"uint16_t", "uint32_t", "uint64_t", "uint8_t", "uintptr_t",
4141
};
4242

4343
// FIXME: This is copy&pasted from Sema. Put it in a common place and remove

0 commit comments

Comments
 (0)