Cesium icon indicating copy to clipboard operation
Cesium copied to clipboard

Allow storage classes other than static

Open ForNeVeR opened this issue 2 years ago • 0 comments

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 either static or extern).

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.

ForNeVeR avatar Oct 23 '22 17:10 ForNeVeR