summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-05-01 08:41:10 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-05-01 08:41:10 +0000
commitd064c70bc63ad742d11625e485c1dc1631f6e303 (patch)
tree10837331d9d3fc5c84e580a59ed241ef506fb936 /lib/CodeGen/CGExprConstant.cpp
parent336f51e463340dc7b159bc38517ac4a68081302d (diff)
downloadclang-d064c70bc63ad742d11625e485c1dc1631f6e303.tar.gz
clang-d064c70bc63ad742d11625e485c1dc1631f6e303.tar.bz2
clang-d064c70bc63ad742d11625e485c1dc1631f6e303.tar.xz
Remove more dead code for emitting diagnostics. The callers of these
functions already precluded dependent types from reaching them. Also change one of the callers to not error when a trait is applied to a dependent type. This is a perfectly reasonable pattern, and both Unary and Binary type traits already support dependent types (by populating the AST with a nonce value). Remove the actual diagnostic, since these aren't errors. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130651 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions