summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/formatters
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2017-01-06 17:56:15 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2017-01-06 17:56:15 +0000
commitd62f2c8c0a9d21087223b31e28d5d62b60f708eb (patch)
tree05521df732a31d2614b633c36cdfa0ed04326aea /lldb/packages/Python/lldbsuite/test/python_api/formatters
parent98f0af4b3e22092cf1770a72a81cbd0f88017f22 (diff)
downloadbcm5719-llvm-d62f2c8c0a9d21087223b31e28d5d62b60f708eb.tar.gz
bcm5719-llvm-d62f2c8c0a9d21087223b31e28d5d62b60f708eb.zip
Make ASTContext::getDeclAlign return the correct alignment for
FunctionDecls. This commit silences an incorrect warning that is issued when a function pointer is cast to another function pointer type. The warning gets issued because alignments of the source and destination do not match in Sema::CheckCastAlign, which happens because ASTContext::getTypeInfoImpl and ASTContext::getDeclAlign return different values for functions (the former returns 4 while the latter returns 1). This should fix PR31558. rdar://problem/29533528 Differential Revision: https://reviews.llvm.org/D27478 llvm-svn: 291253
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/formatters')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud