projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
187f82e
)
Fixed assertion on C/gnu99/attributes5.c
author
Moritz Kroll
<Moritz.Kroll@gmx.de>
Mon, 6 Apr 2009 11:49:23 +0000
(11:49 +0000)
committer
Moritz Kroll
<Moritz.Kroll@gmx.de>
Mon, 6 Apr 2009 11:49:23 +0000
(11:49 +0000)
[r25794]
attribute.c
patch
|
blob
|
history
diff --git
a/attribute.c
b/attribute.c
index
1a868d6
..
b01f8b6
100644
(file)
--- a/
attribute.c
+++ b/
attribute.c
@@
-358,7
+358,7
@@
void handle_entity_attributes(const attribute_t *attributes, entity_t *entity)
static type_t *change_calling_convention(type_t *type, cc_kind_t cconv)
{
- if (!is_type_function(type)) {
+ if (
is_typeref(type) ||
!is_type_function(type)) {
return type;
}