]> granicus.if.org Git - clang/commit
The address of a variable is only constant if the variable has global storage.
authorAnders Carlsson <andersca@mac.com>
Mon, 24 Nov 2008 04:41:22 +0000 (04:41 +0000)
committerAnders Carlsson <andersca@mac.com>
Mon, 24 Nov 2008 04:41:22 +0000 (04:41 +0000)
commit35873c49adad211ff466e34342a52665742794f5
tree4111efbb74897c78a697afb1deaa2efd9d871d23
parent4bbc0e05a714d4ee4918a92a4a7049dd6ef33ad0
The address of a variable is only constant if the variable has global storage.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59939 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprConstant.cpp
test/Sema/const-eval.c