1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:37:35 +00:00

LibCpp: Update list of well-known C++ types to match current AK

This commit is contained in:
Andreas Kling 2021-11-30 17:01:40 +01:00
parent 9cd89f0085
commit 2e010db0a5

View file

@ -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)