]> granicus.if.org Git - clang/commit
Add a new expression classification, CL_AddressableVoid
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 19 Apr 2011 18:51:51 +0000 (18:51 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 19 Apr 2011 18:51:51 +0000 (18:51 +0000)
commit1c860d5640e8eebb11a5d515a761242b66761b0b
tree08f9a77fbd1e2237d1137c5d80ca402105939309
parente294ab717fc9535429ca5d8f575d41ae4441d822
Add a new expression classification, CL_AddressableVoid

CL_AddressableVoid is the expression classification used for void
expressions whose address can be taken, i.e. the result of [], *
or void variable references in C, as opposed to things like the
result of a void function call.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129783 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
lib/AST/ExprClassification.cpp
test/Sema/expr-address-of.c