diff options
author | Chris Lattner <sabre@nondot.org> | 2012-01-26 02:31:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2012-01-26 02:31:22 +0000 |
commit | f14a67f5d3c97e8ad1f5c9d2098e5fd837f17500 (patch) | |
tree | bd6b16fa22aef6ccee50417bce50f6bc18a6b4a2 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 37e965221c385ceddf6f980a2be8fa65ab0a5457 (diff) | |
download | llvm-f14a67f5d3c97e8ad1f5c9d2098e5fd837f17500.zip llvm-f14a67f5d3c97e8ad1f5c9d2098e5fd837f17500.tar.gz llvm-f14a67f5d3c97e8ad1f5c9d2098e5fd837f17500.tar.bz2 |
Add a ConstantDataVector::getSplatValue() method, for parity with
ConstantVector. Fix some outright bugs in the implementation of
ConstantArray and Constant struct, which would cause us to not make
one big UndefValue when asking for an array/struct with all undef
elements. Enhance Constant::isAllOnesValue to work with
ConstantDataVector.
llvm-svn: 149021
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions