mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
LibCpp: Update list of well-known C++ types to match current AK
This commit is contained in:
parent
9cd89f0085
commit
2e010db0a5
1 changed files with 18 additions and 3 deletions
|
@ -128,38 +128,53 @@ constexpr StringView s_known_keywords[] = {
|
|||
};
|
||||
|
||||
constexpr StringView s_known_types[] = {
|
||||
"Array",
|
||||
"Array",
|
||||
"Badge",
|
||||
"Bitmap",
|
||||
"ByteBuffer",
|
||||
"Bytes",
|
||||
"Checked",
|
||||
"CircularDeque",
|
||||
"CircularQueue",
|
||||
"Deque",
|
||||
"DoublyLinkedList",
|
||||
"FileSystemPath",
|
||||
"Array",
|
||||
"Error",
|
||||
"ErrorOr",
|
||||
"FlyString",
|
||||
"Function",
|
||||
"HashMap",
|
||||
"HashTable",
|
||||
"IPv4Address",
|
||||
"IntrusiveList",
|
||||
"IntrusiveList",
|
||||
"JsonArray",
|
||||
"JsonObject",
|
||||
"JsonValue",
|
||||
"LexicalPath",
|
||||
"MappedFile",
|
||||
"NetworkOrdered",
|
||||
"NeverDestroyed",
|
||||
"NonnullOwnPtr",
|
||||
"NonnullOwnPtrVector",
|
||||
"NonnullRefPtr",
|
||||
"NonnullRefPtrVector",
|
||||
"Optional",
|
||||
"OwnPtr",
|
||||
"ReadonlyBytes",
|
||||
"RedBlackTree",
|
||||
"RefPtr",
|
||||
"Result",
|
||||
"ScopeGuard",
|
||||
"Singleton",
|
||||
"SinglyLinkedList",
|
||||
"Span",
|
||||
"String",
|
||||
"StringBuilder",
|
||||
"StringImpl",
|
||||
"StringView",
|
||||
"Utf8View",
|
||||
"Variant",
|
||||
"Vector",
|
||||
"WeakPtr",
|
||||
"auto",
|
||||
|
@ -185,7 +200,7 @@ constexpr StringView s_known_types[] = {
|
|||
"u8",
|
||||
"unsigned",
|
||||
"void",
|
||||
"wchar_t"
|
||||
"wchar_t",
|
||||
};
|
||||
|
||||
static bool is_keyword(StringView string)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue