aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-11 19:58:35 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-11 19:58:35 +0000
commit5ad6ff76dc898d1dab1aaccee5e193dbf9e04acb (patch)
tree6f88bf5eff5a344e921c405c4e105f2be0fd8c16 /clang/lib/CodeGen/CodeGenFunction.cpp
parent127ea4b616b1436739225607da5d90c25a8bb0b5 (diff)
downloadllvm-5ad6ff76dc898d1dab1aaccee5e193dbf9e04acb.zip
llvm-5ad6ff76dc898d1dab1aaccee5e193dbf9e04acb.tar.gz
llvm-5ad6ff76dc898d1dab1aaccee5e193dbf9e04acb.tar.bz2
Verifier: Check for incompatible bit piece expressions
Convert an assertion into a `Verifier` check. Bit piece expressions must fit inside the variable, and mustn't be the entire variable. Catching this in the verifier will help us find bugs sooner, and makes `DIVariable::getSizeInBits()` dead code. llvm-svn: 234698
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions