Allow storage classes other than static #343
Labels
area:compiler
Related to code compilation or type checking
good-first-issue
An issue considered simple enough for new contributors
kind:feature
New feature or request
status:help-wanted
Open for contributors
C standard (6.7.1 Storage-class specifiers) defines the following storage classes:
typedef
(not a real storage class)extern
static
_Thread_local
auto
register
Only one storage class per declaration is allowed (with an exception of
_Thread_local
with eitherstatic
orextern
).We should allow these storage classes in the
Cesium.CodeGen.Ir.Declarations.ScopedIdentifierDeclaration
.When implementing this, find the number
343
in the sources.This issue doesn't include full processing of these storage classes, but only allowing them in the IR classes and proper parsing.
The text was updated successfully, but these errors were encountered: