projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e42f17f
)
add missing EXPR_ALIGNOF case, its always constant
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 7 Dec 2007 13:43:28 +0000
(13:43 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 7 Dec 2007 13:43:28 +0000
(13:43 +0000)
[r18637]
ast.c
patch
|
blob
|
history
diff --git
a/ast.c
b/ast.c
index
4cfa3db
..
4f4a13f
100644
(file)
--- a/
ast.c
+++ b/
ast.c
@@
-818,6
+818,7
@@
bool is_constant_expression(const expression_t *expression)
case EXPR_FUNCTION:
case EXPR_PRETTY_FUNCTION:
case EXPR_OFFSETOF:
+ case EXPR_ALIGNOF:
return true;
case EXPR_BUILTIN_SYMBOL: