]> granicus.if.org Git - clang/commit
Added a comment to ArraySubscriptExpr to note that the expressions like
authorTed Kremenek <kremenek@apple.com>
Wed, 15 Aug 2007 22:33:19 +0000 (22:33 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 15 Aug 2007 22:33:19 +0000 (22:33 +0000)
commitfc4a1601a84d280d7e5c424b77843fdd743beec8
treec2f0134f872676d719f28e7279e6a4e7491896cf
parent87ce144920a4f9c4cc8d6b021b1d759d7785317c
Added a comment to ArraySubscriptExpr to note that the expressions like
"A[4]" are equivalent to "4[A]", and that a test that the expression
returned by "getBase()" has a pointer type is required to resolve which
subexpression is the "true" base expression of the array index.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41113 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h