aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2015-07-02 23:23:52 +0000
committerNadav Rotem <nrotem@apple.com>2015-07-02 23:23:52 +0000
commit754eb7c5639e5c133b66d9806089d9dcf9650e04 (patch)
tree2f1ac7a4494ac3b81db025f22b5d018ade490fdd /clang/unittests/Format/FormatTestJava.cpp
parent6be9099140df35cb308ac883db3183221cf7ed15 (diff)
downloadllvm-754eb7c5639e5c133b66d9806089d9dcf9650e04.zip
llvm-754eb7c5639e5c133b66d9806089d9dcf9650e04.tar.gz
llvm-754eb7c5639e5c133b66d9806089d9dcf9650e04.tar.bz2
Fix an overly aggressive assertion in getCopyFromPartsVector.
The assertion in getCopyFromPartsVector assumed that the vector 'part' must match the type of argument (arguments are potentially split into multiple parts). However, in some cases the targets return a 'part' of the right size but with a different type. We already handle this case correctly later on and generate a bitcast. This commit just makes sure that we are actually checking the property that we care about. llvm-svn: 241312
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions