aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Threading.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-06-04 03:16:21 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-06-04 03:16:21 +0000
commitada78feb08e1924c4f18fa91b6f30627733a4aba (patch)
tree7babc7fcdba1570105d79a5a7c8f27cea69ec7a7 /llvm/lib/Support/Threading.cpp
parent1c1101bb331c5b242bdf31a57bcb9dfd80e30e9b (diff)
downloadllvm-ada78feb08e1924c4f18fa91b6f30627733a4aba.zip
llvm-ada78feb08e1924c4f18fa91b6f30627733a4aba.tar.gz
llvm-ada78feb08e1924c4f18fa91b6f30627733a4aba.tar.bz2
Sema: do not attempt to sizeof a dependent type
We would attempt to evaluate the sizeof a dependent type to check for an integral overflow. However, because the dependent type is not yet resolved, we cannot determine if the expression would overflow. Report a failure to perform a symbolic evaluation of a constant involving the dependent type. llvm-svn: 271762
Diffstat (limited to 'llvm/lib/Support/Threading.cpp')
0 files changed, 0 insertions, 0 deletions