summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ExprConstant.cpp
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2009-01-24 11:30:49 +0000
committerTorok Edwin <edwintorok@gmail.com>2009-01-24 11:30:49 +0000
commit73ff92272ffa6b343b541832cc2e39d72a98629f (patch)
tree8f2ae7911e2e2076d81e9d1a3f61e20ed562b415 /clang/lib/AST/ExprConstant.cpp
parentee34b8f1791515cfacd4b5eec1e222b5636e1f14 (diff)
downloadbcm5719-llvm-73ff92272ffa6b343b541832cc2e39d72a98629f.tar.gz
bcm5719-llvm-73ff92272ffa6b343b541832cc2e39d72a98629f.zip
void* is represented as pointer to empty struct {}.
Thus we need to check whether the struct is empty before trying to index into it. This fixes PR3381. llvm-svn: 62918
Diffstat (limited to 'clang/lib/AST/ExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud