fix cases where compoundlits are constant/get an entity
[cparser] / builtins.c
index e4f24f1..f49f74b 100644 (file)
@@ -37,8 +37,6 @@ static entity_t *create_builtin_function(builtin_kind_t kind, symbol_t *symbol,
        entity->declaration.declared_storage_class = STORAGE_CLASS_EXTERN;
        entity->declaration.type                   = function_type;
        entity->declaration.implicit               = true;
-       entity->base.source_position               = builtin_source_position;
-
        entity->function.btk                       = kind;
 
        record_entity(entity, /*is_definition=*/false);