diff options
author | Hal Finkel <hfinkel@anl.gov> | 2012-10-21 20:38:03 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2012-10-21 20:38:03 +0000 |
commit | 8884dc323f3dc215554a9275bc2f9bebf944e1cf (patch) | |
tree | eafedbe44dc18880f3462fc6cd4ce3e92b4116d1 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 720ae09c00f36243e0d91c86255942d1b5a10593 (diff) | |
download | llvm-8884dc323f3dc215554a9275bc2f9bebf944e1cf.zip llvm-8884dc323f3dc215554a9275bc2f9bebf944e1cf.tar.gz llvm-8884dc323f3dc215554a9275bc2f9bebf944e1cf.tar.bz2 |
DataLayout should use itself when calculating the size of a vector.
This is important for vectors of pointers because only DataLayout,
not the underlying vector type, knows how to calculate the size
of the pointers in the vector. Fixes PR14138.
llvm-svn: 166401
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions