]> granicus.if.org Git - clang/commit
When a builtin that requires a constant is given a type- or
authorDouglas Gregor <dgregor@apple.com>
Fri, 29 Jun 2012 01:05:22 +0000 (01:05 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 29 Jun 2012 01:05:22 +0000 (01:05 +0000)
commit592a4230c6e91fead00d605f6155080544cdf8c9
treeb1507c88611b16194e0192e6a0847b23d32b269a
parentc84804a7409927813430f5bb1b56bb7b8afbcee8
When a builtin that requires a constant is given a type- or
value-dependent expression, don't complain that it wasn't the constant
we wanted. Fixes <rdar://problem/11688587> and PR11074.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159404 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp
test/SemaCXX/neon-vector-types.cpp