mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:07:44 +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[] = {
|
constexpr StringView s_known_types[] = {
|
||||||
|
"Array",
|
||||||
|
"Array",
|
||||||
|
"Badge",
|
||||||
|
"Bitmap",
|
||||||
"ByteBuffer",
|
"ByteBuffer",
|
||||||
|
"Bytes",
|
||||||
|
"Checked",
|
||||||
"CircularDeque",
|
"CircularDeque",
|
||||||
"CircularQueue",
|
"CircularQueue",
|
||||||
"Deque",
|
"Deque",
|
||||||
"DoublyLinkedList",
|
"DoublyLinkedList",
|
||||||
"FileSystemPath",
|
"Error",
|
||||||
"Array",
|
"ErrorOr",
|
||||||
|
"FlyString",
|
||||||
"Function",
|
"Function",
|
||||||
"HashMap",
|
"HashMap",
|
||||||
"HashTable",
|
"HashTable",
|
||||||
"IPv4Address",
|
"IPv4Address",
|
||||||
"IntrusiveList",
|
"IntrusiveList",
|
||||||
|
"IntrusiveList",
|
||||||
"JsonArray",
|
"JsonArray",
|
||||||
"JsonObject",
|
"JsonObject",
|
||||||
"JsonValue",
|
"JsonValue",
|
||||||
|
"LexicalPath",
|
||||||
"MappedFile",
|
"MappedFile",
|
||||||
"NetworkOrdered",
|
"NetworkOrdered",
|
||||||
|
"NeverDestroyed",
|
||||||
"NonnullOwnPtr",
|
"NonnullOwnPtr",
|
||||||
"NonnullOwnPtrVector",
|
"NonnullOwnPtrVector",
|
||||||
"NonnullRefPtr",
|
"NonnullRefPtr",
|
||||||
"NonnullRefPtrVector",
|
"NonnullRefPtrVector",
|
||||||
"Optional",
|
"Optional",
|
||||||
"OwnPtr",
|
"OwnPtr",
|
||||||
|
"ReadonlyBytes",
|
||||||
|
"RedBlackTree",
|
||||||
"RefPtr",
|
"RefPtr",
|
||||||
"Result",
|
"Result",
|
||||||
"ScopeGuard",
|
"ScopeGuard",
|
||||||
|
"Singleton",
|
||||||
"SinglyLinkedList",
|
"SinglyLinkedList",
|
||||||
|
"Span",
|
||||||
"String",
|
"String",
|
||||||
"StringBuilder",
|
"StringBuilder",
|
||||||
"StringImpl",
|
"StringImpl",
|
||||||
"StringView",
|
"StringView",
|
||||||
"Utf8View",
|
"Utf8View",
|
||||||
|
"Variant",
|
||||||
"Vector",
|
"Vector",
|
||||||
"WeakPtr",
|
"WeakPtr",
|
||||||
"auto",
|
"auto",
|
||||||
|
@ -185,7 +200,7 @@ constexpr StringView s_known_types[] = {
|
||||||
"u8",
|
"u8",
|
||||||
"unsigned",
|
"unsigned",
|
||||||
"void",
|
"void",
|
||||||
"wchar_t"
|
"wchar_t",
|
||||||
};
|
};
|
||||||
|
|
||||||
static bool is_keyword(StringView string)
|
static bool is_keyword(StringView string)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue